uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: UIMA : java.lang.OutOfMemoryError: Java heap space.....
Date Fri, 06 Mar 2009 22:45:28 GMT
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 :
>
> ===============================================================================
> Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError:
>  Java heap space
> at java.util.Arrays.copyOf(Arrays.java:2882) at
> java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
> at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:515)
> at java.lang.StringBuffer.append(StringBuffer.java:306)
> at org.apache.uima.util.FileUtils.reader2String(FileUtils.java:123)
> at org.apache.uima.util.FileUtils.file2String(FileUtils.java:160)
> at org.apache.uima.tools.cvd.MainFrame.loadFile(MainFrame.java:601)
> at org.apache.uima.tools.cvd.control.FileOpenEventHandler.actionPerformed
> (FileOpenEventHandler.java:60)
> ....etc
> ==============================================================================
>
> Can you please suggest how I can handle the large file-sizes (say, 1GB) ?
>
> TIA.
>
> --Balkrishnan.V
>
>
>
>   

Mime
View raw message