Close Menu
SkytikSkytik

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    At Least 32 People Dead After a Mine Bridge Collapsed Due to Overcrowding

    November 17, 2025

    Here’s how I turned a Raspberry Pi into an in-car media server

    November 17, 2025

    Beloved SF cat’s death fuels Waymo criticism

    November 17, 2025
    Facebook X (Twitter) Instagram
    • About Us
    • Contact Us
    SkytikSkytik
    • Home
    • AI Tools
    • Online Tools
    • Tech News
    • Guides
    • Reviews
    • SEO & Marketing
    • Social Media Tools
    SkytikSkytik
    Home»Guides»Visual Studio Code is eating up hundreds of gigabytes on Linux
    Guides

    Visual Studio Code is eating up hundreds of gigabytes on Linux

    AwaisBy AwaisFebruary 2, 2026No Comments3 Mins Read0 Views
    Facebook Twitter Pinterest LinkedIn Telegram Tumblr Email
    Visual Studio Code is eating up hundreds of gigabytes on Linux
    Share
    Facebook Twitter LinkedIn Pinterest Email

    If you’re running out of space on your Linux desktop or laptop, Visual Studio Code might be the culprit. There’s a bug that causes some VS Code installations to never delete files after you trash them, potentially eating up hundreds of gigabytes of storage.

    When you delete a file or folder in Visual Studio Code, the data is usually moved to your system’s trash directory or recycle bin. That way, you can restore the file if needed, at least until you empty the trash. However, when Visual Studio Code is installed as a Snap package on a Linux computer, the file is moved to a trash folder within the Snap package, instead of the system trash bin.

    This behavior prevents files from being recovered by opening the system’s trash folder. More importantly, Visual Studio Code is not cleaning out that trash directory. If you ‘deleted’ a file in your project six months ago, it might still be in the Snap container’s trash directory.

    You can check the Snap package’s trash directory by navigating to the below directory, replacing “” with your system username.

    /home//snap/code/current/.local/share/Trash

    The “.local” directory may be hidden by some file managers. If you can’t find it, try running this command in the Terminal:

    xdg-open /home/$USER/snap/code/current/.local/share/Trash

    The issue was initially reported in November 2024, and it has not yet been fixed. One person said, “There are files in there from 2 years ago. Holding onto files in the trash forever seems like a bug.” Another person replied, “I had almost 200GB of data that I thought were previously deleted.”

    This bug only seems to affect the Snap package version of Visual Studio Code on Linux. If you are using that version, I recommend uninstalling VS Code and using the official .DEB or .RPM packages instead. If your distribution doesn’t support those package formats, you can run it from a folder with the .tar.gz download option, or try the unofficial Flatpak version on Flathub.

    Trash directory in VSCodium Snap package

    VSCodium, a popular recompiled version of Visual Studio Code, also seems to be affected. I installed the Snap package version on Ubuntu 24.04, and when I deleted files, they were moved to the trash directory inside the Snap container (which is called “codium” instead of “code”). As with regular Visual Studio Code, installing a non-Snap version should fix the problem.

    Hopefully, Microsoft actually fixes this bug in the near future, so Visual Studio Code stops eating up hundreds of gigabytes of storage for no reason.

    Source: GitHub via Chris Hayes (Mastodon)

    code Eating gigabytes hundreds Linux studio Visual
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Awais
    • Website

    Related Posts

    Efficient High-Resolution Visual Understanding for Vision-Language Models

    March 19, 2026

    How to Effectively Review Claude Code Output

    March 18, 2026

    To See is Not to Master: Teaching LLMs to Use Private Libraries for Code Generation

    March 17, 2026

    Generalizing Real-World Robot Manipulation via Generative Visual Transfer

    March 17, 2026

    Visual Generalization in Reinforcement Learning via Dynamic Object Tokens

    March 16, 2026

    How to Build a Production-Ready Claude Code Skill

    March 16, 2026
    Leave A Reply Cancel Reply

    Top Posts

    At Least 32 People Dead After a Mine Bridge Collapsed Due to Overcrowding

    November 17, 20250 Views

    Here’s how I turned a Raspberry Pi into an in-car media server

    November 17, 20250 Views

    Beloved SF cat’s death fuels Waymo criticism

    November 17, 20250 Views
    Don't Miss

    For Demi Lovato, Learning to Cook Meant Starting to Heal

    March 21, 2026

    For years, I avoided events that revolved around food, and I didn’t like to let…

    Adobe to shut down Marketo Engage SEO tool

    March 21, 2026

    Escaping the SQL Jungle | Towards Data Science

    March 21, 2026

    SEO’s new battleground: Winning the consensus layer

    March 21, 2026
    Stay In Touch
    • Facebook
    • YouTube
    • TikTok
    • WhatsApp
    • Twitter
    • Instagram
    Latest Reviews

    How to create a Zoom meeting link and share it

    March 21, 2026

    Hilary Duff Is a Diet Coke Truther

    March 21, 2026
    Most Popular

    13 Trending Songs on TikTok in Nov 2025 (+ How to Use Them)

    November 18, 20257 Views

    How to watch the 2026 GRAMMY Awards online from anywhere

    February 1, 20263 Views

    Corporate Reputation Management Strategies | Sprout Social

    November 19, 20252 Views
    Our Picks

    At Least 32 People Dead After a Mine Bridge Collapsed Due to Overcrowding

    November 17, 2025

    Here’s how I turned a Raspberry Pi into an in-car media server

    November 17, 2025

    Beloved SF cat’s death fuels Waymo criticism

    November 17, 2025

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Facebook X (Twitter) Instagram Pinterest YouTube Dribbble
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions
    • Disclaimer

    © 2025 skytik.cc. All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.