From: David Corlette <dcorlette@no...> - 2010-03-03 19:12:50
Has anyone identified a memory leak in xmltask? I've noticed that after I process a bunch of XML files, I tend to get PermGen memory issues and crash the Ant script.
The use case here is that I have a bunch of Jasper reports and I'm loading the JRXML files, making some edits, and then saving them back out. I have an Ant target that does this for one file, which I call repeatedly passing in different parameters.
Each time I run it, the script makes it through about 4 reports before crapping out. The next time (the results are cached) I get through the next four, etc.
Is there any way I can profile how much memory xmltask is using, and whether it's freeing up memory appropriately between calls? Or anything I can do with xmltask itself to clear buffers or whatever?
Get latest updates about Open Source Projects, Conferences and News.