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
You need to diagnosis the jvm usages like how many process is running and what about heap allocation. there exists a lot of ways to do that for example