[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory leak in EXPAT?



Hello Nasser,

This is the first time I can remember seeing this problem.

So to reproduce it, I should create an XML document, and parse it repeatedly for 13 hours? Does it matter what is in the document? Do I have to make an HTTP request each time, or does just parsing the XML sufficient?

-SK


On 4/7/2016 3:01 PM, Nasser Shukayr wrote:
    Setup:  Program queries a web service constantly, receiving XML
    response.  Response is parsed with EXPAT.  Program runs most hours of
    the day.

    Issue:  After 13 hours, the program croaks with MCH6903 (The heap space
    has reached its maximum allowable size).  (It's not always exactly 13
    hours ; it varies between 11:45 and 15:45 )

    Temporary solution:  We changed the program so that after about 8
    hours, it exits and then re-starts as a brand-new copy.


    Why this is not ideal:  We really need to monitor the web service3
    continuously, even during the few seconds needed to exit and restart
    the program.


    Has anyone else had a problem with running out of heap space after 13
    hours of continuously using EXPAT?


    Many thanks,



    Nasser Shukayr

        I.T. Application Development Team Lead

    Heartland Co-op Official Logo - Small - 8.2012

    [1]http://www.heartlandcoop.com

       2829 Westown Parkway, Suite 350

       West Des Moines, Iowa 50266

    NShukayr@xxxxxxxxxxxxxxxxx

References

    1. http://www.heartlandcoop.com/



-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7497 / Virus Database: 4545/11982 - Release Date: 04/07/16

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------