Programmers learn & share
0 votes
87 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)   | 87 views

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 (36.1k points)  
edited by
2,228 questions
2,738 answers
59 comments
241 users