twowheelin
Technical User
I'm attempting to run a java utility within a CGI script but am having some memory related problems. For troubleshooting purposes, I'm executing the following in a bash cgi script:
java -version >> $LOGFILE
##java myprogram args args args >> $LOGFILE
This command produces the following error:
Java HotSpot(TM) Server VM warning: Attempt to allocate stack guard pages failed.
Error occurred during initialization of VM
Could not reserve enough space for code cache
I've tried several settings for the jvm stack size (-Xss) but mostly get the same or similar error. Any ideas or suggestions welcome!
java -version >> $LOGFILE
##java myprogram args args args >> $LOGFILE
This command produces the following error:
Java HotSpot(TM) Server VM warning: Attempt to allocate stack guard pages failed.
Error occurred during initialization of VM
Could not reserve enough space for code cache
I've tried several settings for the jvm stack size (-Xss) but mostly get the same or similar error. Any ideas or suggestions welcome!