Matthew Hodgson

Results 552 comments of Matthew Hodgson

Other postmortem v8 debuggers are https://github.com/tjfontaine/lldb-v8 (python 2, doesn't work after porting it to python 3, thanks to `RuntimeError: This resolves the SBAddress using the SBTarget from lldb.target so this...

So, i caught in the act this morning, running under lldb (not using the debug electron i built yesterday). Turns out my poor man's trick of "look for string references...

Hmm. indexeddb.ts has: ``` private reallySave = this.degradable((): Promise => { this.syncTs = Date.now(); // set now to guard against multi-writes ``` ...which is all very well, but i don't...

Another datapoint: i set Nightly running again, breakpointed in persistSyncData, and `JSON.stringify(roomsData).length` is 143988497 bytes - so ~140MB, which really shouldn't be enough (even if allocated twice while bouncing back...

An argument against overlapping persists is the fact that the memory seems to explode very rapidly (e.g. before the inspector can notice, assuming it's updating every second, as one would...

So, my debug electron build is borked somehow - the Renderer immediately crashes with: ``` 3 libsystem_c.dylib 0x1af449d48 __stack_chk_fail + 96 4 Electron Framework 0x30c06d14c content::RenderFrameImpl::PrepareFrameForCommit(GURL const&, blink::mojom::CommitNavigationParams const&) +...

(It didn't crash overnight. Worth noting that the sync accumulator size has shrunk to 118103281 from 143988497 thanks to it being a fresh login - which might be enough of...

> It appears [v8 shares GC work between threads](https://v8.dev/blog/concurrent-marking), so if the OOM is occurring during GC, the crashing thread might not be the thread making the large number of...

@mxandreas please can you rescue this from X-Needs-Product? I would strongly suggest that we just skip day boundaries if no visible events happened on a given day, so the state...