the servlet is run from java.exe in some context (right?), and that program has only been given so much memory by the OS. You can change your Java options. (you'd have to go into the batch files that run your servlet container, depending on what kind you use.)<br><br>I remember running out of memory several times while running javadoc (which is essentially a java app) for a large project... however, looking at the command line options, I don't remember how I increased the memory allocation for it. I'm quite sure that javadoc just passed the argument on to java.exe (possibly through the "-D<name>=<value>" in java.exe). You might want to check there. Also, depending on what server you're running on, you might be able to increase memory allocation through the server itself as opposed to having the java.exe program ask for it.<br><br>Best of luck. <p>Liam Morley<br><A HREF="mailto:"></A><br>"light the deep, and bring silence to the world.<br>light the world, and bring depth to the silence."