On Wed, Nov 10, 2010 at 9:08 PM, SiBest <[email protected]> wrote:

> For example, if I have a 1Mb buffer in a C++ object, and I expose this
> to V8 via FunctionTemplates only (i.e. no data is actually stored
> within V8 itself), then does the 1Mb eat into V8's limit?
>

No - to make v8 aware of the real memory size used by native objects, see
 v8::V8::AdjustAmountOfExternalAllocatedMemory().

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to