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

Reply via email to