Hi Ben,
Thanks for quick response, No that doesn't seem to work. I have tried
recompiling node (0.10.30) with changes that caustik suggested..
(Or) may be I am failing to understand if the heap is what I set when
starting node.
I'm starting node with the following options.
../bin/node --max_old_space_size=8192 --max_executable_size=8500
--max_new_space_size=400000 --trace-gc --trace-gc-nvp app.js
I am printing memoryUsage, This is what i get , am i missing something ?
7:51:43pm [app]: Memory { rss: 42717184, heapTotal: 39765312, heapUsed:
19030552 } in bytes
Thanks,
Sridhar
On Tuesday, August 12, 2014 12:52:31 PM UTC-7, Ben Noordhuis wrote:
>
> On Tue, Aug 12, 2014 at 9:02 PM, Sridhar <[email protected] <javascript:>>
> wrote:
> > Hi All,
> >
> > I am new to nodejs and V8, I am trying to build V8 with increased heap
> for
> > server side usage of V8. In V8 source ( heap.cc) it is mentioned you can
> set
> > this as build environment to build with higher heap.
> > Can someone please point me how can I set or any example that will help.
> >
> > This blog also shows you can rebuild V8 with higher heap but the files
> > mentoined in this blog might be old and there are changes in latest V8
> > source
> > http://blog.caustik.com/category/programming/
> >
> > Thanks much in advance. My goal is to increase heap to 8GB and build V8
> and
> > node.
>
> Maybe I misunderstand what you mean but doesn't
> --max_old_space_size=8192 do what you want?
>
--
--
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/d/optout.