Apache 2.0/Tomcat (4.1.27) is throwing OutOfMemoryException when I am trying to export large data to excel. I use my custom Servlet for this purpose on a 1 GB RAM Linux box. I didn't get this kind of problem with Tomcat 3. I don't know how to increase the Xmx.
Could you plz help me to sorting out this problem?