xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46319] OutOfMemoryError after generating several thousand pdfs
Date Tue, 02 Dec 2008 07:54:01 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46319


Jeremias Maerki <jeremias@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #1 from Jeremias Maerki <jeremias@apache.org>  2008-12-01 23:54:00 PST ---
I'm not sure this is a FOP problem. The error message says:

> Exception java.lang.OutOfMemoryError: requested 65536000 bytes for GrET* in
> /BUILD_AREA/jdk1.5.0_10/hotspot/src/share/vm/utilities/growableArray.cpp. Out
> of swap space?

If the VM says it's out of swap space, it doesn't get enough memory from the
operating system. Are you on a 32bit or 64 bit Linux? At any rate, I'd limit
the maximum memory to 2GB (or less) for the moment and check what happens. Why
did you give the JVM so much memory to begin with? Documents with up to 12
pages are not likely to need that amount of memory except maybe if you're
trying to process huge images.

You say FOP is working in a web application. In that case it can make sense to
limit the number of concurrent processing runs to a manageable level (also as a
DDoS measure).

That said, I've made extensive memory usage tests for FOP 0.95 and detected no
memory leaks. I'm inclined to close this issue as invalid unless you have
additional information indicating a problem in FOP.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message