Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't run a java tool in my CGI Script

Status
Not open for further replies.

twowheelin

Technical User
Oct 29, 2011
2
US
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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top