geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject XSRFHandler question
Date Sat, 18 Jul 2009 07:34:46 GMT
I happened to get an OOM exception when I tried to look at the web  
console jmx viewer while the testsuite was running, coming from the  
regular expression replace in XSRFHandler.  Looking into this it  
collects the entire output into a byte array and then processes it.  I  
would think this does not scale.

Is it possible for this code to be rewritten to work with streams so  
not very much output needs to be kept in memory at once?

thanks
david jencks

Mime
View raw message