I can see in the taskmanager that the memory is not freed by the JVM.
So when I open several large excel-files I get a jvm heap space Exception.


> -----Ursprüngliche Nachricht-----
> Von: Marshall Mooney [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 15. Februar 2008 13:42
> An: POI Users List; [EMAIL PROTECTED]
> Betreff: RE: Freeing Memory after reading a HSSFWorkbook
> 
> How are you determining that the memory is not freed?
> 
> -----Original Message-----
> From: Christian Niehues <[EMAIL PROTECTED]>
> Sent: Friday, February 15, 2008 4:13 AM
> To: [email protected]
> Subject: Freeing Memory after reading a HSSFWorkbook
> 
> Hi
> 
> 
> 
> I wonder about the memory usage of HSSFWorkbook.
> 
> 
> 
> I created a local instance of a HSSFWorkbook during an InputStream
> 
> in a static method and so I thought the memory will be released when
> 
> I leave the method or when the InputStream is closed.
> 
> Same problem with the Event API.
> 
> 
> 
> So when does the memory of the workbook will be freed?
> 
> 
> 
> Thanks,
> 
> Christian
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to