Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
Using a 2D array of [100000][100000] and other two arrays of [100000] each. I need these three arrays in the whole program so can't free their memory.
Already tried VM Options -Xmx512m in Netbeans
Please be specific and Step by Step, I am newbie in Java and Netbeans.
Thanks in advance for you help....