I'm writing a addon in C++ for node.js. I need to handle binary data in the 
addon.
I followed the method explained in this link.
http://www.samcday.com.au/blog/2011/03/03/creating-a-proper-buffer-in-a-node-c-addon/
 
to create a Buffer in V8.
 
This works fine, however V8 doesn't garbage collect the node:Buffer 
allocated, to pass the binary from V8 to node.js layer.
And this leads to a lot of memory leakage.

Any alternative to handle Binary in V8 without memory leak, or any way to 
clean up the Buffer would be really helpful.

Thanks in advance.

-- 
-- 
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/groups/opt_out.

Reply via email to