VS code or in this case VS Codium crashes suddenly when I open a large project or repo.
Turns out, earlyOOM was killing it, since I didnt have swap, so memory was the only factor needed to trigger "out of memory".

Solution:
Enable swap, this guide could be of help.

If it continues to happen, you need to reduce the aggressiveness of earlyOOM or exclude the problematic app.

A VSCodium dialog says: “The window terminated unexpectedly (reason: ‘killed’, code: ‘61696’).” It offers a checkbox labeled “Don’t restore editors” and the buttons “Close” and “Reopen.”
you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 1 month ago

Gotcha. If you have limited RAM and still need more than what Zram can offer, Zswap is probably the most sensible alternative, currently.

⁉️ 1
  • source
  • parent