пятница, 19 июля 2019 г., 16:48:44 UTC+3 пользователь [email protected] 
написал:
>
> I'm not sure - I'm probably leaking native resources somewhere, but those 
> shouldn't blow the v8 heap.
>
> I tried looking into what noscript_shared_function_infos is (it's a 
> weakarrayList) which should get compacted at GC time. So it looks like the 
> functions are staying alive and either need to be manually destroyed, 
> equivalent to:
>
> f = function() { //do something }
> ....
> f = null;
> or created in a way that is tied to the lifecycle of the object
>


I have exactly same memory leak.
All what I've done is: "Creating new context from ObjectTemplate(saved in 
isolate internals) -> Bind & Run UnboundScript -> Execute some functions -> 
Destroying Context"

[image: Screenshot from 2019-08-29 19-12-08.png]

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/edd4339d-802d-4cc2-920e-9dd6273000e1%40googlegroups.com.

Reply via email to