Hi Sergey,

On Saturday, January 9, 2016 at 6:14:17 PM UTC+3, Sergey F. wrote:
>
> Hm, it seems I've found something
> Context handle got out of visibility and thus is eligible for GC, but GC 
> is not triggering as it seems to be enough memory(from V8 point of view)
>
> Calling 
> isolate->RequestGarbageCollectionForTesting(Isolate::kFullGarbageCollection); 
> triggers context garbage collection
>
>
>
You mentioned about large amount of memory allocation on C++ side. There is 
a v8::Isolate::AdjustAmountOfExternalAllocatedMemory() function to
notify GC in V8 about such memory allocations. Maybe it would help.

-- 
-- 
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.

Reply via email to