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"
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
Hope this solve you problem.