java.lang.OutOfMemoryError: Java heap space running applet
<p>I'm developing a graphic user interface with NetBeans IDE 7.0.1. I need to operate with long Strings (about 1 GB) and I've changed the start up configuration parameter to:</p>

<pre><code>-J-Xss512M
-J-Xms4G
-J-Xmx12G
-J-XX:PermSize=4G
-J-XX:MaxPermSize=8G
</code></pre>

<p>When I execute the applet I receive the "<code>java.lang.OutOfMemoryError: Java heap space</code>" exception. I've checked th point of the exception and at that moment, the applet was trying to concatenate two Strings, one of them of 550.000.000 length and the other 68.000.000
If I change the parameters above, it changes nothing on the applet exception.
My computer has 16 GB RAm so I think this is not the problem. Maybe some applet configuration?
Can you help me?
Thanks a lot</p>
