No, we added an eclipse launcher to start AEs, so that you do not have to use some kind of script.
Jörn On 03/23/2012 02:06 AM, Fitch, Britt wrote:
I assume you are running one of the scripts in the bin directory, if so, you can add the java -Xmx param to where it gets called. If you look in runUimaClass[bat|sh] there is a var for JVM_OPTS Hope that helps. ________________________________________ From: Peter Thygesen [[email protected]] Sent: Thursday, March 22, 2012 7:34 PM To: [email protected] Subject: How do I assign more heap memory to CAS Editor Analysis Engine when running Training? Trying to build a token model with UIMA CAS editor. But I get out of memory exception. The run configuration is a UIMA Analysis Engine configuration and does not have a arguments tab (like plain java apps) where I can set the command line arguments for assigning more memory.... Yes I know.. probably a newbie question :-{ /PEter Mar 23, 2012 12:27:04 AM opennlp.uima.tokenize.TokenizerTrainer collectionProcessComplete(203) INFO: Collected 930 token samples. Indexing events using cutoff of 5 Computing event counts... done. 1369984 events Indexing... Exception in thread "Poller SunPKCS11-Darwin" java.lang.OutOfMemoryError: Java heap space at sun.security.pkcs11.wrapper.PKCS11.C_GetSlotInfo(Native Method) at sun.security.pkcs11.SunPKCS11.initToken(SunPKCS11.java:767) at sun.security.pkcs11.SunPKCS11.access$100(SunPKCS11.java:42) at sun.security.pkcs11.SunPKCS11$TokenPoller.run(SunPKCS11.java:700) at java.lang.Thread.run(Thread.java:680)
