• Register
0 votes
21 views
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 

Cause:

 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

Please log in or register to answer this question.

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 186 views
186 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 22 views
22 views
I'm trying to start the JBoss server. I tried some steps and I could not find the right solution.
asked Feb 9 TeamScript 13.5k points
0 votes
1 answer 15 views
15 views
What is causing this issue?
asked Dec 18, 2020 TeamScript 13.5k points
0 votes
1 answer 12 views
12 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, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 9 views
9 views
Problem: I have newly installed the latest nvidia drivers (375.26) manually and also installed CUDA using the cuda_8.0.44_linux.run skipping the driver install there as the bundled drivers are older this is my thinking. Running the below deviceQuery in the CUDA ... driver Copyright (c) 2005-2016 NVIDIA Corporation Built on Sun_Sep__4_22:14:01_CDT_2016 Cuda compilation tools, release 8.0, V8.0.44
asked Aug 26, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 6 views
6 views
How to fix this error? Showing me with Java runtime environment not found! Can anyone fix this problem and provide a solution here.....
asked Dec 21, 2020 ZarinaShaik 320 points
0 votes
1 answer 90 views
90 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
0 votes
1 answer 6 views
6 views
Problem: Eclipse is unable to open, have used eclipse before and has open before without a problem. Now I keep getting the following error message: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual ... : Have gotten eclipse to open and work on projects before and won't open. Here is a screen shot of what I keep getting:
asked Feb 18 Ali 4.8k points