On Mar 5, 9:00 pm, Alex Iskander <[email protected]> wrote: > Hi Stephan, > v8 DOES NOT clean up when the session exits. This is, of course, very > annoying, but apparently is so that, if a web page with dozens of > embedded sub-pages (in iframes) is destroyed, there won't be dozens of > expensive garbage collections.
And instead of 10ms of gc there are dozens of frame objects left danging in memory. :/ v8 should not, as a generic library, be making the decision to not GC based solely on the characteristics of one application (or even one application domain - the web). > V8::AdjustAmountOfExternalAllocatedMemory(1024 * 4); Eeek. > I cover it here, in the v8 cookbook I've been working on in what > little spare time I > have:http://create.tpsitulsa.com/wiki/V8/Garbage_Collection Thank you very much - i'll have a look immediately. --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
