Hi Team,

We are creating a V8 context frequently calling node::makeContext() from 
c++ code. But it seen, below objects created from native context (in 
deps/v8/src/context.cc) are not getting cleared, so memory is increasing 
continuously, on call to makeContext():

1, template instatiation cache (we are creating own function and object 
templates and attaching the same)
2, extensions
3, embedder data

I couldn't find any api to explicitly clear this data. Could anyone suggest 
the proper way to destruct all the above items created from makeContext() 
(i.e any example, showing proper way to use makeContext)

Thanks.

Regards,
Madan

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/34e67da6-17e6-4563-a16d-65a95a3e777a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to