Hello, I have a Java program that gives me a string. When i run this program on the shell everything works fine but when i try to run using shell_exec i get Error occurred during initialization of VM Could not reserve enough space for code cache This script is currently on a VPS server with php4 running as CGI and phpsuexec enabled. What am i doing wrong? Thanks, Fernando. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php