On Thu, Sep 15, 2016 at 2:40 AM, Jane Chen wrote:
> What's a good low value to set for gc_interval for debugging purpose? 1? 10?
Depends on how patient you are. :-)
1 is the most rigorous but it runs 100-1000x slower. 10, 25 or 50 are
reasonable trade-offs.
--
--
v8-users mailing list
v8-use
Hi Ben,
What's a good low value to set for gc_interval for debugging purpose? 1? 10?
Thanks!
On Friday, September 2, 2016 at 3:57:20 PM UTC-7, Ben Noordhuis wrote:
>
> On Fri, Sep 2, 2016 at 1:17 AM, Jane Chen >
> wrote:
> > Embedding v8 4.6.88.
> >
> > Running a memory-consuming script. So
On Fri, Sep 2, 2016 at 1:17 AM, Jane Chen wrote:
> Embedding v8 4.6.88.
>
> Running a memory-consuming script. Sometimes I get a fatal error callback
> due to "process out of memory" which I now handle. Other times v8 just
> crashes in CollectGarbage:
>
> 2016-08-25 17:25:49.649 Critical: #5
>
When the garbage collector crashes like that, that indicates that there's a
broken object on the heap. This could have any number of reasons (notably
including V8 bugs, embedder bugs, flaky hardware), so without further data
it's impossible to tell if this particular instance is known and/or fixed.
Embedding v8 4.6.88.
Running a memory-consuming script. Sometimes I get a fatal error callback
due to "process out of memory" which I now handle. Other times v8 just
crashes in CollectGarbage:
2016-08-25 17:25:49.649 Critical: #5
2016-08-25 17:25:49.649 Critical: #6 0x7f71f69d67fd in voi