Re: UIMA : java.lang.OutOfMemoryError: Java heap space.....

2009-03-12 Thread Roberto Franchini
On Sat, Mar 7, 2009 at 10:30 PM, Balkrishnan. V balkrishna...@iiitb.net wrote: Marshall Schor m...@... writes: Did you try increasing your java heap size?  What size are you running with? -Marshall Hi Marshall, ThankYou for your time. Yes, I tried resetting the jvm-heap-size to 1327MB

Re: UIMA : java.lang.OutOfMemoryError: Java heap space.....

2009-03-09 Thread Thilo Goetz
Just a few more points on this fascinating topic. * The JVM internally represents characters as UTF16. This means that any ascii text will use twice as much memory in the JVM as on disk. * While reading in the file, you will likely do some copying. Even if you allocate a char[] of the right

Re: UIMA : java.lang.OutOfMemoryError: Java heap space.....

2009-03-09 Thread Marshall Schor
Thanks, Thilo, good points! Another fine point below Thilo Goetz wrote: Just a few more points on this fascinating topic. * The JVM internally represents characters as UTF16. This means that any ascii text will use twice as much memory in the JVM as on disk. * While reading in the file,

Re: UIMA : java.lang.OutOfMemoryError: Java heap space.....

2009-03-09 Thread Thilo Goetz
Marshall Schor wrote: Thanks, Thilo, good points! Another fine point below Thilo Goetz wrote: [...] * On 32-bit windows, a process may use up to 2GB of memory, not 4GB. Subtract from that the memory that the JVM needs, and you get to some number around 1.4GB as the maximum JVM heap

Re: UIMA : java.lang.OutOfMemoryError: Java heap space.....

2009-03-08 Thread Tommaso Teofili
2009/3/8 Marshall Schor m...@schor.com Balkrishnan.V wrote: Marshall Schor m...@... writes: Did you try increasing your java heap size? What size are you running with? -Marshall Hi Marshall, ThankYou for your time. Yes, I tried resetting the jvm-heap-size to 1327MB

Re: UIMA : java.lang.OutOfMemoryError: Java heap space.....

2009-03-07 Thread Balkrishnan . V
Marshall Schor m...@... writes: Did you try increasing your java heap size? What size are you running with? -Marshall Hi Marshall, ThankYou for your time. Yes, I tried resetting the jvm-heap-size to 1327MB and now I am able to run the CVD successfully with 101MB text-log-file. Can

Re: UIMA : java.lang.OutOfMemoryError: Java heap space.....

2009-03-07 Thread Marshall Schor
Balkrishnan.V wrote: Marshall Schor m...@... writes: Did you try increasing your java heap size? What size are you running with? -Marshall Hi Marshall, ThankYou for your time. Yes, I tried resetting the jvm-heap-size to 1327MB and now I am able to run the CVD successfully

UIMA : java.lang.OutOfMemoryError: Java heap space.....

2009-03-06 Thread Balkrishnan . V
Hi, I am trying to load a file of size 12MB onto the CVD for annotation. Then I get the following error : === Exception in thread AWT-EventQueue-0 java.lang.OutOfMemoryError: Java heap space at

Re: UIMA : java.lang.OutOfMemoryError: Java heap space.....

2009-03-06 Thread Marshall Schor
Did you try increasing your java heap size? What size are you running with? -Marshall Balkrishnan.V wrote: Hi, I am trying to load a file of size 12MB onto the CVD for annotation. Then I get the following error :