When you run Java code from Eclipse, it is started in its own JVM. So you don't need to change the Eclipse ini file, it makes no difference. Instead, you need to modify the run configuration for the program you're running.
In the menu, select Run/Open Run Dialog. On the left hand side, select the appropriate run. Select the Arguments tab. Under VM arguments, enter -Xmx1000m (or whatever you want). --Thilo Ashutosh Sharma wrote: > Hi > > I am getting this error while running Opennlp OpenNLPNEDetector.xml from > eclipse 3.3.1.1. > It shows me error while loading the model files into memory. I have tried to > increase the heap size in eclipse.ini file increasing by 512 max size. When I > try to assign more size for Xmx parameter (e.g. 1024M/1g), then eclipse > doesn't support it. > > I have tried to run documentanalyzer.bat from apache-uima/bin folder but it's > show me the message that OpenNLPExampleTypes.xml not found, but it's running > fine in eclipse. > > Is this error relate to UIMA wrapper for OpenNLP. > > Thanks & Regards, > Ashutosh > > _________________________________________________________________ > Post free property ads on Yello Classifieds now! www.yello.in > http://ss1.richmedia.in/recurl.asp?pid=220