I'm using the class CharArrayWriter
and in the buffer i have more then 1 megabyte of data , the problem is that
when using the toString() method my application is crashing with the following error :
Exception in thread "main" java.lang.OutOfMemoryError
at java.io.CharArrayWriter.write(CharArrayWriter.java, Compiled Code)
at java.io.Writer.write(Writer.java, Compiled Code)
at org.apache.ecs.ConcreteElement.output(ConcreteElement.java, Compiled
is there a limit to the toSting method ?