Comments (6)
Option 1 Try IIS (not IIS express) - #15 (comment)
Option 2 Try to increase stack size - #16 (comment)
from stanford.nlp.net.
Thank you for your quick reply.
I could not try on my local but it worked on Azure.
So it is a problem related with IIS Express I assume.
from stanford.nlp.net.
I would like to add some observations..
As I see leaving IIS express is some cumbersome just for this problem I tried to increase stack size with utilizing Thread class but unfortunately it is not possible to handle return value in asp.net project.
Not directly related but close to it; other option is Task.Run but there is no way to set maxStackSize...
There should be setting for IIS Express.
new System.Threading.Thread(() =>
{
......
pipeline.annotate(document);
......
}, 414565).Start();
from stanford.nlp.net.
For those who is wondering a simple solution:
By default II express is working in 32 bit mode.
And according to this article https://support.microsoft.com/en-us/kb/932909
" In Windows Server 2008 and higher, the maximum stack size of a thread running on 32-bit version of IIS is 256 KB, and on an x64 server is 512 KB."
All we need is little bit higher then 400K for depparse annotator.
So we can set 64bit version of IIS Express in VS 2015 Tools> Options> Projects and Solutions > Web Projects > Use the 64 bit version of IIS Express for web sites and projects
happy codings...
from stanford.nlp.net.
Thank you @mehmetilker !
from stanford.nlp.net.
You are welcome @sergey-tihon. Thank you for your effort.
from stanford.nlp.net.
Related Issues (20)
- c# issues HOT 6
- snk file not found HOT 3
- Calssifier Demo and how i can do it ? HOT 1
- Setup config HOT 3
- Assembly 'Assets/Plugins/stanford-corenlp-3.9.2.dll' will not be loaded due to errors HOT 1
- POS-Tagging in other languages HOT 4
- Add samples of loading configuration from config.properties file
- The new .NET Core merge works except very minor issues HOT 1
- Feedback Additional Standford.NLP Tools: PyTorch Dependency Parser HOT 1
- Help needed: Getting Dependency Visualization Brat to work in Blazor
- CoreNLP Server HOT 6
- Tests for other Langauges HOT 4
- Signed version for stanford.nlp.PosTagger HOT 2
- License HOT 2
- In connecting to NLP service,While using sentences annotation getting null value HOT 2
- Relationship between NLP, NER, Segmenter HOT 1
- SimpleTensor ClassNotFoundException - Wrong directory? HOT 4
- How do I get constituents from a tree annotation? HOT 10
- Is is possible to loop through the dependencies of the Semantic Graph Annotation? HOT 1
- Transform Words into Sentences and Paragraphs? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stanford.nlp.net.