Visual Studio Code is consuming all my RAM












0















I have a Dell Inspiron 15 laptop with a Core i5 7th Generation along with 4GB DDR4 2400MHz. The OS is Windows 10 Home Single x64 (Build 15063). Most of the tasks being performed on that laptop are coding with Visual Studio Code, running MySQL server and some Java programming. It was working perfectly until the day before yesterday.



Starting from yesterday, the Visual Studio Code program has started consuming all my RAM and freezes my laptop. Both HDD and RAM status in Task Manager went up to 100%. I always have to hard reset the laptop.



The PC was operating normally until I opened the Visual Studio Code. I found out the Visual Studio is the cause of the problem. I uninstalled and reinstalled the program but that didn't work for me. Also updating to the latest version didn't work. I was just doing coding just like every day and didn't install any plugins.



Edit: I got the problem fixed. But I don't know how the solution and this problem relates with.



After upgrading to Fall Creators Update (1709), I could see all the details and sub tasks the VS Code is performing in the task manager. I found out more than 2000 Git for Windows processes were running under Visual Studio Code and consuming all my RAM. Those Git for Windows processes were increasing infinitely. Each process uses 2MB RAM.



So, I uninstalled the Git (2.6.0) and reinstall with the latest version (2.15.2). That fixed my problem but I am not really satisfied with that.



It would be very nice and appreciated if someone explains me how the Git gives trouble to the Visual Studio Code.










share|improve this question

























  • i would recomend you to uninstall your visual studio using RevoUninstaller, then reboot and try again. Link on how to do this can be found in this topic: superuser.com/a/1270795/441304

    – user1448914
    Nov 29 '17 at 7:06











  • I tried with IOBit uninstaller but the problem still persists. Will there be any difference?

    – Aung Myat
    Nov 29 '17 at 8:20











  • I don't think the laptop hard freezing like that has anything to do with RAM usage. How big is your paging file?

    – David Schwartz
    Nov 29 '17 at 9:09











  • Minimum 6144 MB (4096 MB * 1.5), Maximum 8192 MB (4096 MB * 2)

    – Aung Myat
    Nov 29 '17 at 10:39













  • 32 or 64-bit OS? 4GB RAM & 8GB swap is really quite tiny these days.

    – Tetsujin
    Nov 29 '17 at 19:39
















0















I have a Dell Inspiron 15 laptop with a Core i5 7th Generation along with 4GB DDR4 2400MHz. The OS is Windows 10 Home Single x64 (Build 15063). Most of the tasks being performed on that laptop are coding with Visual Studio Code, running MySQL server and some Java programming. It was working perfectly until the day before yesterday.



Starting from yesterday, the Visual Studio Code program has started consuming all my RAM and freezes my laptop. Both HDD and RAM status in Task Manager went up to 100%. I always have to hard reset the laptop.



The PC was operating normally until I opened the Visual Studio Code. I found out the Visual Studio is the cause of the problem. I uninstalled and reinstalled the program but that didn't work for me. Also updating to the latest version didn't work. I was just doing coding just like every day and didn't install any plugins.



Edit: I got the problem fixed. But I don't know how the solution and this problem relates with.



After upgrading to Fall Creators Update (1709), I could see all the details and sub tasks the VS Code is performing in the task manager. I found out more than 2000 Git for Windows processes were running under Visual Studio Code and consuming all my RAM. Those Git for Windows processes were increasing infinitely. Each process uses 2MB RAM.



So, I uninstalled the Git (2.6.0) and reinstall with the latest version (2.15.2). That fixed my problem but I am not really satisfied with that.



It would be very nice and appreciated if someone explains me how the Git gives trouble to the Visual Studio Code.










share|improve this question

























  • i would recomend you to uninstall your visual studio using RevoUninstaller, then reboot and try again. Link on how to do this can be found in this topic: superuser.com/a/1270795/441304

    – user1448914
    Nov 29 '17 at 7:06











  • I tried with IOBit uninstaller but the problem still persists. Will there be any difference?

    – Aung Myat
    Nov 29 '17 at 8:20











  • I don't think the laptop hard freezing like that has anything to do with RAM usage. How big is your paging file?

    – David Schwartz
    Nov 29 '17 at 9:09











  • Minimum 6144 MB (4096 MB * 1.5), Maximum 8192 MB (4096 MB * 2)

    – Aung Myat
    Nov 29 '17 at 10:39













  • 32 or 64-bit OS? 4GB RAM & 8GB swap is really quite tiny these days.

    – Tetsujin
    Nov 29 '17 at 19:39














0












0








0








I have a Dell Inspiron 15 laptop with a Core i5 7th Generation along with 4GB DDR4 2400MHz. The OS is Windows 10 Home Single x64 (Build 15063). Most of the tasks being performed on that laptop are coding with Visual Studio Code, running MySQL server and some Java programming. It was working perfectly until the day before yesterday.



Starting from yesterday, the Visual Studio Code program has started consuming all my RAM and freezes my laptop. Both HDD and RAM status in Task Manager went up to 100%. I always have to hard reset the laptop.



The PC was operating normally until I opened the Visual Studio Code. I found out the Visual Studio is the cause of the problem. I uninstalled and reinstalled the program but that didn't work for me. Also updating to the latest version didn't work. I was just doing coding just like every day and didn't install any plugins.



Edit: I got the problem fixed. But I don't know how the solution and this problem relates with.



After upgrading to Fall Creators Update (1709), I could see all the details and sub tasks the VS Code is performing in the task manager. I found out more than 2000 Git for Windows processes were running under Visual Studio Code and consuming all my RAM. Those Git for Windows processes were increasing infinitely. Each process uses 2MB RAM.



So, I uninstalled the Git (2.6.0) and reinstall with the latest version (2.15.2). That fixed my problem but I am not really satisfied with that.



It would be very nice and appreciated if someone explains me how the Git gives trouble to the Visual Studio Code.










share|improve this question
















I have a Dell Inspiron 15 laptop with a Core i5 7th Generation along with 4GB DDR4 2400MHz. The OS is Windows 10 Home Single x64 (Build 15063). Most of the tasks being performed on that laptop are coding with Visual Studio Code, running MySQL server and some Java programming. It was working perfectly until the day before yesterday.



Starting from yesterday, the Visual Studio Code program has started consuming all my RAM and freezes my laptop. Both HDD and RAM status in Task Manager went up to 100%. I always have to hard reset the laptop.



The PC was operating normally until I opened the Visual Studio Code. I found out the Visual Studio is the cause of the problem. I uninstalled and reinstalled the program but that didn't work for me. Also updating to the latest version didn't work. I was just doing coding just like every day and didn't install any plugins.



Edit: I got the problem fixed. But I don't know how the solution and this problem relates with.



After upgrading to Fall Creators Update (1709), I could see all the details and sub tasks the VS Code is performing in the task manager. I found out more than 2000 Git for Windows processes were running under Visual Studio Code and consuming all my RAM. Those Git for Windows processes were increasing infinitely. Each process uses 2MB RAM.



So, I uninstalled the Git (2.6.0) and reinstall with the latest version (2.15.2). That fixed my problem but I am not really satisfied with that.



It would be very nice and appreciated if someone explains me how the Git gives trouble to the Visual Studio Code.







laptop memory freeze windows-10-v1703 visual-studio-code






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 14 at 14:53









dandan78

146112




146112










asked Nov 29 '17 at 5:13









Aung MyatAung Myat

791211




791211













  • i would recomend you to uninstall your visual studio using RevoUninstaller, then reboot and try again. Link on how to do this can be found in this topic: superuser.com/a/1270795/441304

    – user1448914
    Nov 29 '17 at 7:06











  • I tried with IOBit uninstaller but the problem still persists. Will there be any difference?

    – Aung Myat
    Nov 29 '17 at 8:20











  • I don't think the laptop hard freezing like that has anything to do with RAM usage. How big is your paging file?

    – David Schwartz
    Nov 29 '17 at 9:09











  • Minimum 6144 MB (4096 MB * 1.5), Maximum 8192 MB (4096 MB * 2)

    – Aung Myat
    Nov 29 '17 at 10:39













  • 32 or 64-bit OS? 4GB RAM & 8GB swap is really quite tiny these days.

    – Tetsujin
    Nov 29 '17 at 19:39



















  • i would recomend you to uninstall your visual studio using RevoUninstaller, then reboot and try again. Link on how to do this can be found in this topic: superuser.com/a/1270795/441304

    – user1448914
    Nov 29 '17 at 7:06











  • I tried with IOBit uninstaller but the problem still persists. Will there be any difference?

    – Aung Myat
    Nov 29 '17 at 8:20











  • I don't think the laptop hard freezing like that has anything to do with RAM usage. How big is your paging file?

    – David Schwartz
    Nov 29 '17 at 9:09











  • Minimum 6144 MB (4096 MB * 1.5), Maximum 8192 MB (4096 MB * 2)

    – Aung Myat
    Nov 29 '17 at 10:39













  • 32 or 64-bit OS? 4GB RAM & 8GB swap is really quite tiny these days.

    – Tetsujin
    Nov 29 '17 at 19:39

















i would recomend you to uninstall your visual studio using RevoUninstaller, then reboot and try again. Link on how to do this can be found in this topic: superuser.com/a/1270795/441304

– user1448914
Nov 29 '17 at 7:06





i would recomend you to uninstall your visual studio using RevoUninstaller, then reboot and try again. Link on how to do this can be found in this topic: superuser.com/a/1270795/441304

– user1448914
Nov 29 '17 at 7:06













I tried with IOBit uninstaller but the problem still persists. Will there be any difference?

– Aung Myat
Nov 29 '17 at 8:20





I tried with IOBit uninstaller but the problem still persists. Will there be any difference?

– Aung Myat
Nov 29 '17 at 8:20













I don't think the laptop hard freezing like that has anything to do with RAM usage. How big is your paging file?

– David Schwartz
Nov 29 '17 at 9:09





I don't think the laptop hard freezing like that has anything to do with RAM usage. How big is your paging file?

– David Schwartz
Nov 29 '17 at 9:09













Minimum 6144 MB (4096 MB * 1.5), Maximum 8192 MB (4096 MB * 2)

– Aung Myat
Nov 29 '17 at 10:39







Minimum 6144 MB (4096 MB * 1.5), Maximum 8192 MB (4096 MB * 2)

– Aung Myat
Nov 29 '17 at 10:39















32 or 64-bit OS? 4GB RAM & 8GB swap is really quite tiny these days.

– Tetsujin
Nov 29 '17 at 19:39





32 or 64-bit OS? 4GB RAM & 8GB swap is really quite tiny these days.

– Tetsujin
Nov 29 '17 at 19:39










1 Answer
1






active

oldest

votes


















0














In windows, you can set priorities for each application for how much Memory and possibly CPU they can use. If you set the application that is taking to much ram to a low priority, it will not use much RAM. There are 5 options that distinguish the level of priority! For decreasing priority, there is Below Normal and Low.



A simple tutorial can be found here how to set priorities.
https://youtu.be/niNc4Xr46xk?t=32



In Task Manager you can also monitor how much Memory/RAM apps are using!






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1272692%2fvisual-studio-code-is-consuming-all-my-ram%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    In windows, you can set priorities for each application for how much Memory and possibly CPU they can use. If you set the application that is taking to much ram to a low priority, it will not use much RAM. There are 5 options that distinguish the level of priority! For decreasing priority, there is Below Normal and Low.



    A simple tutorial can be found here how to set priorities.
    https://youtu.be/niNc4Xr46xk?t=32



    In Task Manager you can also monitor how much Memory/RAM apps are using!






    share|improve this answer




























      0














      In windows, you can set priorities for each application for how much Memory and possibly CPU they can use. If you set the application that is taking to much ram to a low priority, it will not use much RAM. There are 5 options that distinguish the level of priority! For decreasing priority, there is Below Normal and Low.



      A simple tutorial can be found here how to set priorities.
      https://youtu.be/niNc4Xr46xk?t=32



      In Task Manager you can also monitor how much Memory/RAM apps are using!






      share|improve this answer


























        0












        0








        0







        In windows, you can set priorities for each application for how much Memory and possibly CPU they can use. If you set the application that is taking to much ram to a low priority, it will not use much RAM. There are 5 options that distinguish the level of priority! For decreasing priority, there is Below Normal and Low.



        A simple tutorial can be found here how to set priorities.
        https://youtu.be/niNc4Xr46xk?t=32



        In Task Manager you can also monitor how much Memory/RAM apps are using!






        share|improve this answer













        In windows, you can set priorities for each application for how much Memory and possibly CPU they can use. If you set the application that is taking to much ram to a low priority, it will not use much RAM. There are 5 options that distinguish the level of priority! For decreasing priority, there is Below Normal and Low.



        A simple tutorial can be found here how to set priorities.
        https://youtu.be/niNc4Xr46xk?t=32



        In Task Manager you can also monitor how much Memory/RAM apps are using!







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 14 at 15:00









        leifleif

        245




        245






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1272692%2fvisual-studio-code-is-consuming-all-my-ram%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

            Alcedinidae

            RAC Tourist Trophy