• Register
0 votes
25 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 224 views
224 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 7 views
7 views
Problem: I'm trying to start the jboss server. I tried some steps and I could not find the right solution.
asked 4 days ago salim1 60.6k points
0 votes
1 answer 37 views
37 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 25 views
25 views
What is causing this issue?
asked Dec 18, 2020 TeamScript 13.5k points
0 votes
1 answer 15 views
15 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 12 views
12 views
Problem: The total space of my application is 10MB, and after installation it will take less than 20MB. On Galaxy Note I, while updating my app, it says "Not Enough Storage Space Available", where there is 214MB of free space in device memory (internal) ... /mnt/sdcard: 1928992K total, 1014496K used, 914496K available (block size 32768) /mnt/secure/asec: Permission denied Hope someone could help.
asked Mar 17 sasha 16.2k points
0 votes
1 answer 12 views
12 views
Problem: My env configuration: python:3.6 tensorflow-GPU 1.3 CUDA:9.0 VS:2013 torch:0.4.0 run CUDA 9.0 sample:success But when I run the pytorch code,I get the error info as follows: File "D:\Anaconda3\lib\site-packages\torch\nn\modules\module.py" ... CUDA driver version is insufficient for CUDA runtime version at ..\src\THC\THCGeneral.cpp:70 I have tried reinstall CUDA,but the error still exists.
asked 6 days ago anika11 32.2k points
0 votes
1 answer 13 views
13 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