With Seaside 2.8.
I accidently wrote: html div: (super renderTerm: term on: html) in place of html div: [super renderTerm: term on: html]) It caused an infinite recursion, I have to kill the seaside process to recover, but now my image has grown to 100MB. Not sure it is related, but I see about 50 WASession hanging around, even when I shut down. With WARegistry clearAllHandlers. Smalltalk garbageCollect. the WASession are still there. Strangely I also have many component hanging in memory. Any tips? I am not sure were to look to chasse pointers. Hilaire _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside signature.asc (196 bytes) Download Attachment |
WARegistry clearAllHandlers
Smalltalk garbageCollect Works for me every time :) John 2009/6/3 Hilaire Fernandes <[hidden email]> With Seaside 2.8. -- http://jmck.seasidehosting.st _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Yeah, usually that usually works.
In your case it could be that data still hangs around WAKom or within the process list. Make sure that you kill all Seaside processes and restart the server. Lukas On Wed, Jun 3, 2009 at 12:59 PM, John McKeon <[hidden email]> wrote: > WARegistry clearAllHandlers > Smalltalk garbageCollect > > Works for me every time :) > > John > > 2009/6/3 Hilaire Fernandes <[hidden email]> >> >> With Seaside 2.8. >> >> I accidently wrote: >> >> html div: (super renderTerm: term on: html) >> >> in place of >> >> html div: [super renderTerm: term on: html]) >> >> It caused an infinite recursion, I have to kill the seaside process to >> recover, but now my image has grown to 100MB. >> Not sure it is related, but I see about 50 WASession hanging around, >> even when I shut down. >> >> With >> WARegistry clearAllHandlers. >> Smalltalk garbageCollect. >> >> the WASession are still there. >> >> >> Strangely I also have many component hanging in memory. >> >> Any tips? I am not sure were to look to chasse pointers. >> >> Hilaire >> >> >> _______________________________________________ >> seaside mailing list >> [hidden email] >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >> > > > > -- > http://jmck.seasidehosting.st > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
There are not left Seaside process nor rampant WAKomEncoded instances.
Just about 50 WASession instances plus many component, but I guess there are referenced by the session. Hilaire Le mercredi 03 juin 2009 à 13:03 +0200, Lukas Renggli a écrit : > Yeah, usually that usually works. > > In your case it could be that data still hangs around WAKom or within > the process list. > > Make sure that you kill all Seaside processes and restart the server. > > Lukas > > On Wed, Jun 3, 2009 at 12:59 PM, John McKeon <[hidden email]> wrote: > > WARegistry clearAllHandlers > > Smalltalk garbageCollect > > > > Works for me every time :) > > > > John > > > > 2009/6/3 Hilaire Fernandes <[hidden email]> > >> > >> With Seaside 2.8. > >> > >> I accidently wrote: > >> > >> html div: (super renderTerm: term on: html) > >> > >> in place of > >> > >> html div: [super renderTerm: term on: html]) > >> > >> It caused an infinite recursion, I have to kill the seaside process to > >> recover, but now my image has grown to 100MB. > >> Not sure it is related, but I see about 50 WASession hanging around, > >> even when I shut down. > >> > >> With > >> WARegistry clearAllHandlers. > >> Smalltalk garbageCollect. > >> > >> the WASession are still there. > >> > >> > >> Strangely I also have many component hanging in memory. > >> > >> Any tips? I am not sure were to look to chasse pointers. > >> > >> Hilaire > >> > >> > >> _______________________________________________ > >> seaside mailing list > >> [hidden email] > >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > >> > > > > > > > > -- > > http://jmck.seasidehosting.st > > > > _______________________________________________ > > seaside mailing list > > [hidden email] > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside signature.asc (196 bytes) Download Attachment |
You could nil out all the instance variables in the Sessions and
garbage collect. I'm guessing that will get rid of all the components and so on. But you'll probably still need to chase pointers to find out what's holding onto the Sessions. Make sure all inspector windows and so on are closed when you garbage collect otherwise they'll be holding onto the Sessions themselves. And of course it may be easier to load your code into a new image but this *should* be solvable without too much difficulty and may be revealing for you to see what is causing them to be kept around. Julian 2009/6/3 Hilaire Fernandes <[hidden email]>: > There are not left Seaside process nor rampant WAKomEncoded instances. > Just about 50 WASession instances plus many component, but I guess there > are referenced by the session. > > Hilaire > > > Le mercredi 03 juin 2009 à 13:03 +0200, Lukas Renggli a écrit : >> Yeah, usually that usually works. >> >> In your case it could be that data still hangs around WAKom or within >> the process list. >> >> Make sure that you kill all Seaside processes and restart the server. >> >> Lukas >> >> On Wed, Jun 3, 2009 at 12:59 PM, John McKeon <[hidden email]> wrote: >> > WARegistry clearAllHandlers >> > Smalltalk garbageCollect >> > >> > Works for me every time :) >> > >> > John >> > >> > 2009/6/3 Hilaire Fernandes <[hidden email]> >> >> >> >> With Seaside 2.8. >> >> >> >> I accidently wrote: >> >> >> >> html div: (super renderTerm: term on: html) >> >> >> >> in place of >> >> >> >> html div: [super renderTerm: term on: html]) >> >> >> >> It caused an infinite recursion, I have to kill the seaside process to >> >> recover, but now my image has grown to 100MB. >> >> Not sure it is related, but I see about 50 WASession hanging around, >> >> even when I shut down. >> >> >> >> With >> >> WARegistry clearAllHandlers. >> >> Smalltalk garbageCollect. >> >> >> >> the WASession are still there. >> >> >> >> >> >> Strangely I also have many component hanging in memory. >> >> >> >> Any tips? I am not sure were to look to chasse pointers. >> >> >> >> Hilaire >> >> >> >> >> >> _______________________________________________ >> >> seaside mailing list >> >> [hidden email] >> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >> >> >> > >> > >> > >> > -- >> > http://jmck.seasidehosting.st >> > >> > _______________________________________________ >> > seaside mailing list >> > [hidden email] >> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >> > >> > >> >> >> > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |