Re: [v8-users] GC stack trace

2020-12-15 Thread Alex Kodat
You can use SetFlagsFromString: V8::SetFlagsFromString("--max_heap_size=4096"); // Pick your value I didn't look but I would assume you need to do this before you create the Isolate. There's also the Isolate AddNearHeapLimitCallback method but that's a bit more work to use. On Tuesday, Decem

Re: [v8-users] GC stack trace

2020-12-15 Thread Vinayaka Kamath
Thanks a lot Ben, that was really helpful. The project is using v8 engine embedded in the C++ code, is a build config or can I pass that setting as a parameter in the C++ code? On Tuesday, December 15, 2020 at 5:10:32 PM UTC+5:30 Ben Noordhuis wrote: > On Tue, Dec 15, 2020 at 9:56 AM Vinayaka

Re: [v8-users] GC stack trace

2020-12-15 Thread Ben Noordhuis
On Tue, Dec 15, 2020 at 9:56 AM Vinayaka Kamath wrote: > > Hello All, > > The project that I am working on embeds v8 in it. One of the users reported > seeing the following trace in the log files. > > > 2020-12-01T04:48:31.912-08:00 [INFO] "Starting Function for:" > "config::sfdc::accounts" > 20