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
If you are using Virtual Machine (VM), allocate more RAM to your VM and your problem will be solved.