When I run my Java code in Eclipse, I get the following message:
There is insufficient memory for the Java Runtime Environment to continue. Native memory all
Your application (Eclipse) needs more memory and JVM is not allocating enough.You can increase the amount of memory JVM allocates by following the answers given here