On 27.03.2008 12:25:32 Jason Timmins wrote: > > From: Jeremias Maerki [mailto:[EMAIL PROTECTED] > > Sent: 27 March 2008 11:13 > > To: [email protected] > > Subject: Re: FOP 0.20 Memory Leak? > > Hi There, > > > For performance reasons? In my tests, FOP is running slower > > in IKVM than > > when it's run under a decent JVM. IKVM is fast but it brings some > > overhead into the picture. > > N-no, the problem is not with FOP, the problem is that I need to produce > documents really quickly for high-volume PS printers. My .NET app produces > the raw XML and uses Saxon to create the XLS and FOP to turn it into PS. The > problem is that if I fire up the Java VM for Saxon and then again for FOP, > document creation takes 7 seconds (way too slow.) If I turn those two > packages into .NET assemblies and avoid the start-up delays of the Java VM, > document creation times fall to 2 seconds as everything is in the same .NET > execution environment. > > If you can tell me how to keep Saxon and FOP running whilst I push large > amounts of XML documents through them, I'd gladly give it a try.
I'd pack Saxon and FOP together into a web service. That way you don't have the VM startup each time. > > I don't know of any memory leaks in 0.20.5. A lot of people > > use (or used) > > that version in production with no problems. > > Which is why I'm asking. It might be Saxon or something in IKVM that leaks. > > > Does .NET not have good tools to track down memory leaks? > > Not that I'm aware of. The problem is complicated by it running as a web app > in IIS. It's the IIS worker process that grows until it get's too big and is > recycled. IIS. *g* I've had my share of experiences with that thing. > Bye for now > Jason. > > Jason Timmins (Technical Director) InterLinx Ltd. > Geo: West Mids, UK. Tele: +44 8707 430999. Fax: +44 8707 460999. > Beyond here there be dragons. > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
