Hi,
 
Has anyone tried testing memory usage of xmltask? We run a long build
using Ant with large XML data content. Recently we experienced OOM
errors in our builds. I did some profiling and found that running
xmltask takes a portion of heap memory which does not get garbage
collected. We had the max heap size configured to 200Mb. Increasing that
has allowed our build to proceed further, but it would be helpful to
know if there are any dangling objects not being cleaned up. This may
also be an Ant problem, but specifically the memory increases seemed to
be around the use of xmltask. I wrote a specific test that simply
inserted an element 10000 times into an initially empty document and
this also grew the heap memory over time.
 
Also has there been any examination of the memory profile of processing
large XML documents? Although most of the memory is garbage collected,
reading a large document as DOM can take many Mbs of memory temporarily.
 
Any suggestions most welcome.
 
thanks

paul 

 
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to