On Fri, Jun 5, 2015 at 10:53 AM, vroad <[email protected]> wrote: > Multiple posts on this forum says that "WeakCallback may not be invoked, so > don't rely on that", but I think that WeakCallback should be invoked before > I get "Out of memory" error. > Is this incorrect? I've never seen this function working. It just doesn't > work no matter what I try, like allocating many objects to trigger GC, or > forcing GC with Isolate::RequestGarbageCoolectionForTesting.
A weakly persistent object can only be reclaimed when there are no references to it; the garbage collector won't forcibly reclaim it when memory is low. -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
