3 ms·
(Kind of unhelpful after the fact - but regarding chewed posts: The method that works where I didn't accidentally close the last tab associated with a particul
by exikyut 7y ago
(Kind of unhelpful after the fact - but regarding chewed posts:
The method that works where I didn't accidentally close the last tab associated with a particular renderer process (or, TL;DR, didn't close any tabs), is to promptly figure out which renderer process is behind the tab in question via chrome's task manager, quickly attach to it with gdb, then `generate-core-file (filename)`, and grep through the result for my text. (Usually `grep -aC100`.)
Alternatively, hibernating generally seems to always(?) save the disregarded bytes to disk (the associated memory regions immediately get used for something else, so they stay in in the pagemap); then I can reboot the machine, carefully prevent it from resuming, boot to Linux, mount the FS readonly as appropriate (since it was never unmounted cleanly), then go through the hibernation/swap image. (Bonus points for then resuming once you're done.) I recovered a family member's lost draft email this way once (TIL Gmail encodes emails in both HTML _and_ HTML-inside-JSON O.o).)