VS Code Killed by OOM ON UBUNTU VM

Problem: VS Code on Ubuntu…

Login

Blog History

Problem:

VS Code on Ubuntu 22.04 VM exits with "killed code 9"

journalctl | grep -i oom
May 17 12:58:03 tgn-vm-ln-02 kernel: Out of memory: Killed process 43215 (code) total-vm:1186602700kB, anon-rss:189300kB, file-rss:0kB, shmem-rss:36296kB, UID:1000 pgtables:1412kB oom_score_adj:300
May 17 12:58:03 tgn-vm-ln-02 systemd[1]: [email protected]: A process of this unit has been killed by the OOM killer.
May 17 12:58:03 tgn-vm-ln-02 systemd[1527]: app-gnome-code-43150.scope: A process of this unit has been killed by the OOM killer.

Cause:

Ubuntu VM has no Swap Space

Resolution:

Add swap space

https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-20-04

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.