"Out of environment space" when running Tomcat on Windows 98.

Alessandro A. Garbagnati

The "Out of environment space" problem is a common issue on Windows 98 platform, due to the size of the environment space that, by default, isn't really big.

One solution is to edit the CONFIG.SYS file and add this line:
It may be possible that you already have a similar line, in that case you can increase the value after the '/E:' option, that is the size of the environment space. Remember to reboot. If you still have the same error, increase the number.

Another solution is to use the properties (right click) on the starting batch file (startup.bat or, based on the version of Tomcat, tomcat.bat or catalina.bat), increasing the environment size in the memory tag.