[v8-users] OOM in Heap::ReserveSpace

2018-07-03 Thread Yvonne Chen
Hi, I'm in the process of trying to upgrade from v8 6.0.186 to 6.7.288.46. In heap.cc, the latter now has a check for !deserialization_complete_ before throwing an OOM error. For some reason, my code can create one Isolate just fine, but if I try to create another, I run into the error. The com

Re: [v8-users] OOM in Heap::ReserveSpace

2018-07-05 Thread Yvonne Chen
er wrote: > > Could you check which 'perform_gc = true' case we reach? See > > > https://cs.chromium.org/chromium/src/v8/src/heap/heap.cc?l=1614&rcl=fe51067f43e7208d06977d5036726360a4539d7b > > Then please open a bug at http://crbug.com/v8/new. > > On Wed, Ju

Re: [v8-users] OOM in Heap::ReserveSpace

2018-07-06 Thread Yvonne Chen
8? On Thursday, July 5, 2018 at 3:27:48 PM UTC-7, Yvonne Chen wrote: > > It's the case where "if (allocation.To(&free_space))" is false. > > I'm currently unable to reproduce this outside of our main codebase into a > standalone test file, but I'll file a

Re: [v8-users] OOM in Heap::ReserveSpace

2018-07-06 Thread Yvonne Chen
Actually, not mprotect. madvise, in ReclaimInaccessibleMemory, with both MADV_FREE and MADV_DONTNEED calls failing, both with error code EINVAL. On Friday, July 6, 2018 at 4:44:00 PM UTC-7, Yvonne Chen wrote: > > Still unable to produce a standalone repo, but I've narrowed down t

Re: [v8-users] OOM in Heap::ReserveSpace

2018-07-07 Thread Yvonne Chen
Done: https://bugs.chromium.org/p/v8/issues/detail?id=7923 thanks! On Saturday, July 7, 2018 at 3:38:58 AM UTC-7, Jakob Gruber wrote: > > Even without a repro, could you open a bug? It's easier to loop in people > and discuss there. Thanks! > > On Sat, Jul 7, 2018 at

Re: [v8-users] Debugging v8 with Chrome Dev Tools

2019-04-25 Thread Yvonne Chen
I had some success getting debugging to work by building off of this repo: https://github.com/hsharsha/v8inspector although I didn't test much beyond adding break points. On Thursday, April 25, 2019 at 6:10:06 AM UTC-7, Konrad Piascik wrote: > > See this topic > https://groups.google.com/d/topi