Discussion Locked

Out of environment space - Tomcat

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm trying to get Apache TomCat up and running. I already have jigsaw running, for which I set environment variable classpath=
a whole lot of pathnames.

When I run tomcat.bat, I get plenty of "out of environment space" messages, a "bad command or filename" msg, and an error in a java class.

How can I get rid of the "out of environ space" message?

Cheers

3 replies

by vinnyd

To increase the amount of environment space for a dos window, use this command as the shortcut program or target.

c:\command.com /e:3072

The /e: is an option to increase the "E" Environment to 3072k You can make the number bigger or smaller but I have found that 3072 (3k) works for everything I have ever needed.

If you are running Windows 2000 or Windows NT you have to use cmd.com in place if command.com

by steve.doig

You can also right click on the dos shortcut and go int o properties -> memory and change initial environment memory to a different value.

This discussion is closed to new replies.