I am getting the following error on execution of a multi-threading program
java.lang.OutOfMemoryError: Java heap space
The above error occu
To increase the heap size you can use the -Xmx argument when starting Java; e.g.
-Xmx256M