You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Vincent Hardy <vh...@eng.sun.com> on 2001/02/08 21:28:46 UTC

OutOfMemory error on large files

Hello,

I just found out that on a large test case (e.g., a map), we cannot
do a reload of the document any longer: we now get an
OutOfMemoryException. 
This seems to mean that we may be keeping a reference to the Document 
and/or GVT while trying to load the new document.
Any thoughts on what may have changed recently that may have an
impact on this?

V.

Re: OutOfMemory error on large files

Posted by Christophe Jolif <cj...@ilog.fr>.
Hello,

Vincent Hardy wrote:

> I just found out that on a large test case (e.g., a map), we cannot
> do a reload of the document any longer: we now get an
> OutOfMemoryException.
> This seems to mean that we may be keeping a reference to the Document
> and/or GVT while trying to load the new document.
> Any thoughts on what may have changed recently that may have an
> impact on this?

The modifications in the script package may have impact on this
(normally only if you have scripting in your file). However I tested
them and the document was correctly garbage collected here. Can you send
me the file in order to let me do additional testing on it?

Thanks,
-- 
Christophe