hi Milli
         can u send ur code ,in ur last mail u told that, u explicitly
assign null to the workbook object inside loop ,it means gc should
recollect it and according to u it is not working so if possible send ur
code.

----- Original Message ----- 
From: "Mili Aggarwal, Noida" <[EMAIL PROTECTED]>
To: "POI Users List" <[email protected]>
Sent: Thursday, April 07, 2005 9:58 AM
Subject: out of memory.


> He guys I have be unable to resolve out of memory error when I am creating
> 300 odd workbooks.
> The structure of my app is:
>
> Reportgenerater is the class that calls 2 classes((Sheet1 and Sheet2)) by
> passing them workbook object to Create sheets. The 2 classes create one
> sheet each. There is a common class that consists of all STATIC styles
that
> are applied to both the sheets. Now the problem is - I am running out
memory
> since the workbooks objects are not being destroyed. Any ideas as to what
> can be done to destroy the objects?
>
>
> Warm Regards,
> Mili Aggarwal
> HCL TECHNOLOGIES LTD.
> Noida, India.
> Tel: +91 (0120) 2516321/328 Extn: 1052
> Email: [EMAIL PROTECTED]
>
> --------------------------------------------------------------------------
--
> -----------------------------DISCLAIMER-----------------------------------
--
> --------------------------------------------------------------------------
--
> --------
>
> This message and any attachment contained here are information that is
> confidential, proprietary to HCL Technologies and its customers. Contents
> may be privileged or otherwise protected by law. The information is solely
> intended for the individual or the entity it is addressed to. If you are
not
> the intended recipient of this message, you are not authorized to read,
> forward, print, retain, copy or disseminate this message or any part of
it.
> If you have received this e-mail in error, please notify the sender
> immediately by return e-mail and delete it from your computer.
>
>
>
>
>
>
> Disclaimer:
>
> This message and any attachment(s) contained here are information that is
> confidential,proprietary to HCL Technologies and its customers, privileged
> or otherwise protected by law.The information is solely intended for the
> individual or the entity it is addressed to. If you are not the intended
> recipient of this message, you are not authorized to read, forward,
> print,retain, copy or disseminate this message or any part of it. If you
> have received this e-mail in error, please notify the sender immediately
by
> return e-mail and delete it from your computer.
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to