Thanks for the quick response. This means the memory limit only applies within the scope of V8 Javascript. I guess the reason some people are concerned is because of projects like node.js that exist entirely in Javascript, and so this limit is very restrictive.
On Nov 10, 8:13 pm, Stephan Beal <[email protected]> wrote: > 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 bealhttp://wanderinghorse.net/home/stephan/ -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
