I get the exception in the title in an application I have written.
It seems to be caused by a large StringBuffer. The settings I
use are -Xms1024m -Xmx1512m and
The machine is running Kubuntu 9.04 64bit and the physical
memory is 2g.
Any ideas on how I could overcome the problem?