Redirecting response stream to avoid OutOfMemoryErrors
Christian Mahnke <[email protected]> Tue, 22 Sep 2009 12:35:45 +0200
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi List, is there a way to redirect the response stream of a servlet into a file to avoid OutOfMemoryErrors due to the use of a ByteArrayOutputStream in ServletUnitOutputStream.java. My Test can create quite huge responses depending on the configuration of the tested servlet. Or should I look into other frameworks like Apache Cactus. Best, Christian -- ---------------- Christian Mahnke ---------------- Center for Retrospective Digitization Goettingen State and University Library (SUB) University of Goettingen Papendiek 14 37073 Goettingen, Germany web: http://gdz.sub.uni-goettingen.de/ phone: +49 (0)551 39 - 4917 skype: christian.mahnke mail: [email protected] ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf