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
In my case it was that the C: drive was out of space. Ensure that you have enough space available.