Anonymous avatar Anonymous committed 1297486

memory requirements in README

Comments (0)

Files changed (2)

 
 ## Questions 
 
-If you think there may be a problem with this wrapper, first ensure you can run the Java program:
+**Stanford CoreNLP tools require a large amount of free memory**.  Java 5+ uses about 50% more RAM on 64-bit machines than 32-bit machines.  32-bit machine users can lower the memory requirements by changing `-Xmx3g` to `-Xmx2g` or even less.
+If pexpect timesout while loading models, check to make sure you have enough memory and can run the server alone without your kernel killing the java process:
 
     java -cp stanford-corenlp-2010-11-12.jar:stanford-corenlp-models-2010-11-06.jar:xom-1.2.6.jar:xom.jar:jgraph.jar:jgrapht.jar -Xmx3g edu.stanford.nlp.pipeline.StanfordCoreNLP -props default.properties
 
-Then, send me (Dustin Smith) a message on GitHub or through email (contact information is available [on my webpage](http://web.media.mit.edu/~dustin).
+You can reach me, Dustin Smith, by sending a message on GitHub or through email (contact information is available [on my webpage](http://web.media.mit.edu/~dustin).
 
 #  TODO
  
         if not isinstance(data["params"], (list, tuple)):
             raise RPCInvalidRPC("""Invalid Request, "params" must be an array.""")
         if len(data) != 3:          raise RPCInvalidRPC("""Invalid Request, additional fields found.""")
-
+        print data
         # notification / request
         if data["id"] is None:
             return data["method"], data["params"]               #notification
             req_str  = self.__data_serializer.dumps_request( methodname, args, id )
         else:
             req_str  = self.__data_serializer.dumps_request( methodname, kwargs, id )
-
+        print req_str
         try:
             resp_str = self.__transport.sendrecv( req_str )
         except Exception,err:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.