memory gobbled up by sessions

2004-03-22 Thread Mark Orr
Hi, We're using Tomcat 3.3.1 on SuSe Linux with nearly 1GB of memory and Java HotSpot VM (build 1.4.0-beta3-b84). We're storing rather a lot of stuff in sessions. When the site is busy and the server is restarted, the amount of free memory, as reported by the command 'free', rapidly decreases

RE: content type charset

2003-09-10 Thread Mark Orr
Hi, This might not be the cause of your problem, but it caught me out recently until I read the Javadoc for the setContentType method of ServletResponse: If obtaining a PrintWriter, this method should be called first. In otherwords, set your response type first, then get your PrintWriter,