Simon- you're absolutely right.
It's clear from looking at the code that it's highly inefficient to allocate a
large buffer when perhaps as little as one byte is read from the stream.
I have refactored the code, so this is done more sensibly!
The fix will be in the next release (on Monday)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250994#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...