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

Reply via email to