I recall in the early versions of 0.6.x the default was to compile v8 for 32 bits and that lead to a heap limit of 1.4GB. In 64-bit v8, I know of no restrictions on heap size.
Have you considered using Buffer objects? Buffers exist outside of v8 and can hold a gigabyte each. -Edmond On Aug 20, 2013, at 6:36 PM, NStal Loit <[email protected]> wrote: > I‘m using node 0.10.16 and 64bit ubuntu 13.04. > > If there is no way to break through this, then I have to split it into > several process using fork. And that approach is more tricky and maybe slower > but still much faster than python dict. > > > On Wednesday, August 21, 2013 4:51:38 AM UTC+8, Edmond Meinfelder wrote: > By any chance are you using a 32-bit version v8? What version of node are you > using? > > -Edmond > > > On Aug 20, 2013, at 2:06 AM, NStal Loit <[email protected]> wrote: > > > I've googled for some while, but fail to find an approach to break v8's > > heap limits. I need to handle a very big key-value object and nodejs's > > object manipulation is very fast (about 10x faster than python dict), so is > > it possible to break though v8's ~2GB heap limits at current stage or in > > the near future? > > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > 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 post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: 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 post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- 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]. For more options, visit https://groups.google.com/groups/opt_out.
