Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any
New issue 300 by uale...@gmail.com: When using XmlReader, the memory isn't released after subroutine ends http://code.google.com/p/gambas/issues/detail?id=300 1) Describe the problem. I am using DomotiGa which heavily can use the XMLRPC component of gambas. When i generate a lot of requests, then the application will run out-of-memory. I traced this down to the "miniServer.class" component. The attached "Main.module" will show that the memory only goes up, when it is running the subroutine for 50.000 times. Seems gambas doesn't free the Xml/XmlReader after the routine ends. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK (2.24.0 and also seen it in 3.21.0) Revision: r1234 (if you use a development version) Operating system: Linux Distribution: Ubuntu Architecture: x86 GUI component: N/A Desktop used: XFCE 3) Provide a little project that reproduces the bug or the crash. Just run the attached "Main.module" and notice that the memory usage only goes up, and is never released. 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! Attachments: Main.module 1.6 KB ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user