xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Too many opened files with FOP in multithread
Date Wed, 07 Jul 2010 09:27:37 GMT
If you're in the process of integrating FOP 0.94, why not upgrade to
0.95 directly? 0.95 already had quite some improvements in the font area.
I'm not sure but maybe that problem doesn't arise with 0.95.

On 06.07.2010 14:43:39 shucoshuco wrote:
> Hi everybody.
> I have found the next issue working with FOP 0.94: I have a multithread
> console application which starts 16 different threads. All those threads are
> using FOP to generate a huge number of PDF files. After a few seconds
> running, an exception is raised because there are too many opened files
> (this happens in Solaris, but not in Windows). I ran lsof to point the
> problem and I found that the program had opened each font file several times
> (much more than 16, once a thread). I have custom fonts declared in the user
> config file and it seems to be the problem.
> Is there any way of closing this files for each execution? The only way I've
> realised was to call the garbage collector but that decreases the
> performance a lot. Shall I configure better the FOP, extend some class...?
> This works fine in previous version (0.20.5) and, in fact, it was really
> quickly.
> Thanks a lot.
> FĂ©lix.
> -- 
> View this message in context: http://old.nabble.com/Too-many-opened-files-with-FOP-in-multithread-tp29084909p29084909.html
> Sent from the FOP - Users mailing list archive at Nabble.com.

Jeremias Maerki

To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message