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

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:

https://github.com/scala/scala-jenkins-infra/issues/181

by (21.9k points)  
edited by
...