Help Tomcat crashing.

Tomcat occaisonally just bombs out on me, no warnings, logs or hints left for me to look at afterwords. Im running on Windows 2K prof. The only thing I can think off is that I have many hundreds of lines of HTML planted in out.println(), which surely has to be the norm for server side. I know if I flush the stream ie out.flush() the crashes are a lot less, though I still get crash tomcat, the crashes are indertiminate and one page can work all the time or no times. This is bugging me no end, Do I need to go to another servlet engine.

Thanks done both things. I didnt particularly like changing my id as its the name I use almost every where, I know the "_" is frowned upon in Java better to Capitalise the second word. but hey thats not even the standard here.... Anyway

My real Question is how much memory do you recommend I give to DOS (cmd) boxes in WIN 2K. I will be carrying around large buffers of HTML inline codes, many hundreds of lines. Why the hell dosent Tomcat like the Auto setting for memory any way.

mo patel

Greenhorn

Posts: 15

posted 17 years ago

Increased the memory of the dos cmd the problems still there. I increased the memory of the dos shell that runs startup.bat as Tomcats starts in another dos cmd shell I assume that the memory parameters are inherited (like UNIX). Is this safe to assume? If not how do I change the memory parameters of the running Tomcat cmd box.