Hi Stephan,
Do you use PrintWriter or Outputstream to dump the data ?
Please help.
Thanks
Venkatesh
-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: ECS <[EMAIL PROTECTED]>
Date: Monday, September 25, 2000 1:48 AM
Subject: Re: Memory poblems
>
>
>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]
>
>
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]