Getting error in metaspace litespeed configuration

#1
Code is like this

<?php
shell_exec("java -jar RegisterNewone.jar "xxxxx" "xxxxxx"");

?>
Error

Error occurred during initialization of VM [1] => Could not allocate metaspace: 1073741824 bytes

But when switch back to apache it works . also when i just same command from terminal it works , only from litespeed not working
 

Cold-Egg

Administrator
#6
You can do phpinfo comparison between Apache and LSWS, see if their memory size is different.

Increase:
Web admin > Server Configuration -> External App -> lsphp
  1. Process Soft Limit
  2. Process Hard Limit
Also, increase the memory limit from php.ini
 
Top