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#4250994 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250994 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user