[IronPython] Application stays in memory even after exit

cephire id804097 at gmail.com
Tue Sep 2 20:06:29 CEST 2008


Dan/Michael,
Thank you for your reply. I had a timer running and I didn't stop it.
Once I did, the application exited properly.

thank you,
Joseph

On Sep 2, 9:44 pm, Michael Foord <fuzzy... at voidspace.org.uk> wrote:
> cephire wrote:
> > Hi:
> > If you mean am I closing all the forms, yes. Here is the code snippet
> > of both program.py and the form's exit menu item.
> > Please note that I also tried self.Close and still it didn't exit from
> > the memory. Thank you for your time.
>
> I asked if you had *deleted references* to your forms - not if you had
> closed them.
>
> Does the process terminate when your form is closed? As far as I can see
> it should... If so how are you judging that it has not freed memory?
> (Are you running it from the interactive interpreter?)
>
> Michael
>
>
>
>
>
>
>
> > Program.py
> > =========
>
> > class mysecs10: # namespace
>
> >     @staticmethod
> >     def RealEntryPoint():
>
> >         Application.EnableVisualStyles()
> >         Application.Run(mysecs20.MainForm())
>
> > if __name__ == "Program":
> >     mysecs10.RealEntryPoint();
>
> > mainform. exit
> > ===========
>
> >         @accepts(Self(), System.Object, System.EventArgs)
> >         @returns(None)
> >         def _exitToolStripMenuItem_Click(self, sender, e):
> >             Application.Exit()
>
> > On Sep 2, 1:36 am, Michael Foord <fuzzy... at voidspace.org.uk> wrote:
>
> >> cephire wrote:
>
> >>> Hi all,
> >>> I've found out that the application is still in memory even after
> >>> closing the application. I exit the application with
> >>> Application.Exit().
>
> >>> What should I do to remove the application completely?
>
> >> Which version of IronPython are you using?
>
> >> Have you deleted all references to the form (I assume it is a Windows
> >> Forms application)?
>
> >> Michael
>
> >>> Thank you,
> >>> Joseph
> >>> _______________________________________________
> >>> Users mailing list
> >>> Us... at lists.ironpython.com
> >>>http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
> >> --http://www.ironpythoninaction.com/http://www.voidspace.org.uk/http://...
>
> >> _______________________________________________
> >> Users mailing list
> >> Us... at lists.ironpython.comhttp://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
> > _______________________________________________
> > Users mailing list
> > Us... at lists.ironpython.com
> >http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
> --http://www.ironpythoninaction.com/http://www.voidspace.org.uk/http://www.trypython.org/http://www.ironpython.info/http://www.theotherdelia.co.uk/http://www.resolverhacks.net/
>
> _______________________________________________
> Users mailing list
> Us... at lists.ironpython.comhttp://lists.ironpython.com/listinfo.cgi/users-ironpython.com- Hide quoted text -
>
> - Show quoted text -



More information about the Ironpython-users mailing list