Hi Toby, Your problem is independent of Cactus. It is related to the JVM. When you start a JVM, you specify on the command line the amount of memory you'd like for it (the -ms64m and -mx64m parameters for 64mb). You simply need to allocate enough memory.
The browser is not a java application. it explains why you do not see the problem with it. -Vincent ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 13, 2001 3:41 PM Subject: How to handle large servlet output ot avoid a java.lang.OutOfMemoryError Hi Folks, I'm using cactus to test my servlets which is able to load a file form a specific server and display it using the corresponding mime-type. But my cactus testCases fails with a OutOfMemoryError when I want to check for large (about 35 MB) video file (video/quicktime or video/mpeg). When I invoke the servlet via a browser, the video is displayed correctly. Is the OutOutMemoryError avoidable? Thx a lot Toby Mit freundlichen Gr��en Best regards Tobias Rademacher ---------------------------------------------------------------------------- ------ Tobias Rademacher Software Development CEYONIQ Healthcare Fon: +49 (0)821 44490-0 GmbH & Co. KG Fax: +49 (0)821 44490-60 Kurzes Gel�nd 6 mailto:[EMAIL PROTECTED] 86156 Augsburg www.ceyoniq.com/healthcare Germany ---------------------------------------------------------------------------- ----------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
