• Register
0 votes
Hi want a create a project for my asssinment and I faced a lot of issue about insufficient memory for the Java Runtime Environment to continue error. The issue:
<REMOTE>># There is insufficient memory for the Java Runtime Environment to continue.
<REMOTE>># Cannot create GC thread. Out of system resources.                        
<REMOTE>># An error report file with more information is saved as:                  
<REMOTE>># /home/spectrum/server/bin/hs_err_pid52161.log 


 Java Heap Setting is too low

1 Either for the main Spectrum server - Spectrum Heap 
Or for the server/modules/geotax/java.vmargs 
2 potentially the machine is out of memory
3 the maximum number of user threads are consumed based on the allocation

Can anyone sort out this problem?

10 7 2
6,060 points

1 Answer

0 votes

Follow the steps:

Go to <SpectrumLocation>server/bin/wrapper directory Open the wrapper.conf file using a text editor such as Notepad Set the property "wrappper.java.maxmemory


For example:

 if wrappper.java.maxmemory is set to 2048, you can increase it to 4096 

For Linux/UNIX, to increase the number of processes the application can run:

ulimit -u Identify the hard limit to avoid setting a higher value than supported: ulimit -Hu If the -u setting is 1024, increase it by 2048 or 3072 and restart Spectrum to see if that helps. In example, ulimit -u 2048


11 6 4
34,950 points

Related questions

0 votes
1 answer 137 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
asked Oct 23, 2019 peterlaw 6.9k points
0 votes
1 answer 11 views
Problem: I am a beginner to sql. I have the 123MB sql file which I am trying to execute on my local PC. But I am facing the below error: Cannot execute script: Insufficient memory to continue the execution of the program. Whenever I click on Ctlr+E then it ... above error. I have tried to fix the above sql error with the help of online tutorials but they were not useful in fixing the error.
asked Aug 28 Raphael Pacheco 4.9k points
0 votes
1 answer 78 views
Problem : I am getting bellow error while running my program and unable to figure out what the solution would be a fatal error has been detected by the java runtime environment:
asked Nov 5, 2019 peterlaw 6.9k points