• Register
Welcome to Kodlogs, programming questions and answer website.
0 votes

Problem :

When I run my Java code in Eclipse, I get the bellow error message
there is insufficient memory for the java runtime environment to continue
by (6.9k points)  

1 Answer

0 votes

Solution :

To diagnose this error even when running the simple command please follow bellow instructions:

1. java -version
2. Check the amount of free memory you have:        free -m
3. Check the max number of user processes
ulimit -a
ps -ef | wc -l

Further Readings:


by (29.7k points)  
edited by