simplest solution don't use out.println(ecsobject.toString()); do this instead.
ecsobject.output(out);
toString() is a VERY expensive operation and will increases you memory usage by
at least 2x. I'm generating large ecs data structures ( 8 meg files ) and using
output(out); and it works just fine.
-stephan
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]