This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
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.
Madhav Lakkapragada
Ranch Hand
Joined: Jun 03, 2000
Posts: 5040
posted
0
my first attempt would be to increase the memory property of a dos shell, in case you are running it in Windows.
Also, "mo_patel" doesn't confirm to the naming policy on the javaranch. Pl. refer http://www.javaranch.com/name.jsp and re-register yourself. Thanks. - satya
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
Joined: Mar 07, 2001
Posts: 15
posted
0
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.