In order for ATG to fork a javac compiler to compile a JHTML page, it requires two times the current process size in swap space for a short period of time until it executes the new process. If you receive an error message like this:

/atg/dynamo/servlet/pagecompile/PageCompileServlet
atg.servlet.pagecompile.PageCompileResources->
pageCompileServletErrorCompiling :
Error compiling page: <path of page> :
Unable to execute the command '<page compile command>'
Make sure that you have the 'bin' directory for your JDK in your PATH
variable before starting ATG and that you have enough swap space.

then you probably do not have enough swap space for page compilation. Increase your swap space.