Thanks Ben! I understand the limitations. However, shouldn't then the application crash when the memory usage is around 2GB limit and not around 1400mb?
On Wednesday, April 27, 2016 at 11:26:54 PM UTC-7, Ben Noordhuis wrote: > On Wed, Apr 27, 2016 at 11:04 PM, Miguel Caballero Pinto > <[email protected] <javascript:>> wrote: > > Hi there! > > > > We use Electron framework for our application that creates renderer > > processes that under the cover uses V8. We would like to increase the > memory > > limit of those processes to 2000mb (BTW, we found that increasing the > memory > > limit any further will make the process to instantly crash), for that > when > > creating a new renderer process we set the flag: > > js-flags="--max_old_space_size=2000", however the process still crashes > when > > reaching its default memory limit, ~1,400mb. > > > > The environment were we found this behavior is Windows 32 bits. > > > > Is there anything else we should be doing? Do you know how else we can > > increase the default memory limit? > > > > Thank you very much for your time! > > See [0], the address space on 32 bits Windows is limited to 2 GB. In > other words, code + C heap + JS heap can not be > 2 GB. > > It's possible to reconfigure the system to use a 3GB/1GB split but > that's something the system administrator needs to do. You also need > to rebuild your application with the /LARGEADDRESSAWARE switch. > > [0] > https://msdn.microsoft.com/en-us/library/windows/desktop/aa366912%28v=vs.85%29.aspx > > -- -- 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.
