How can I free my GPU memory in Ubuntu 14.04?












4















How can I free my gpu memory as much as possible?

Currently there seems 400+ MB of GPU ram to be always occupied!

How can I free these ?



Wed Feb 24 21:48:33 2016       
+------------------------------------------------------+
| NVIDIA-SMI 352.39 Driver Version: 352.39 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 750 Off | 0000:01:00.0 On | N/A |
| 22% 31C P8 0W / 38W | 438MiB / 2046MiB | 2% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 731 C /usr/bin/python 24MiB |
| 0 1121 G /usr/bin/X 260MiB |
| 0 2058 G compiz 140MiB |
| 0 8408 G /proc/self/exe 3MiB |
+-----------------------------------------------------------------------------+









share|improve this question

























  • 1. Ubuntu will do itself that when needed. 2. dumping it costs resources so will slow your system down 3. it will slow down even more since it will also reload it into memory.

    – Rinzwind
    Feb 24 '16 at 18:23











  • By freeing I meant removing or disabling any needed application as well. so basically that X, or compiz can be shut down right? they shouldnt be some system critical apps right?

    – Breeze
    Feb 24 '16 at 19:29
















4















How can I free my gpu memory as much as possible?

Currently there seems 400+ MB of GPU ram to be always occupied!

How can I free these ?



Wed Feb 24 21:48:33 2016       
+------------------------------------------------------+
| NVIDIA-SMI 352.39 Driver Version: 352.39 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 750 Off | 0000:01:00.0 On | N/A |
| 22% 31C P8 0W / 38W | 438MiB / 2046MiB | 2% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 731 C /usr/bin/python 24MiB |
| 0 1121 G /usr/bin/X 260MiB |
| 0 2058 G compiz 140MiB |
| 0 8408 G /proc/self/exe 3MiB |
+-----------------------------------------------------------------------------+









share|improve this question

























  • 1. Ubuntu will do itself that when needed. 2. dumping it costs resources so will slow your system down 3. it will slow down even more since it will also reload it into memory.

    – Rinzwind
    Feb 24 '16 at 18:23











  • By freeing I meant removing or disabling any needed application as well. so basically that X, or compiz can be shut down right? they shouldnt be some system critical apps right?

    – Breeze
    Feb 24 '16 at 19:29














4












4








4








How can I free my gpu memory as much as possible?

Currently there seems 400+ MB of GPU ram to be always occupied!

How can I free these ?



Wed Feb 24 21:48:33 2016       
+------------------------------------------------------+
| NVIDIA-SMI 352.39 Driver Version: 352.39 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 750 Off | 0000:01:00.0 On | N/A |
| 22% 31C P8 0W / 38W | 438MiB / 2046MiB | 2% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 731 C /usr/bin/python 24MiB |
| 0 1121 G /usr/bin/X 260MiB |
| 0 2058 G compiz 140MiB |
| 0 8408 G /proc/self/exe 3MiB |
+-----------------------------------------------------------------------------+









share|improve this question
















How can I free my gpu memory as much as possible?

Currently there seems 400+ MB of GPU ram to be always occupied!

How can I free these ?



Wed Feb 24 21:48:33 2016       
+------------------------------------------------------+
| NVIDIA-SMI 352.39 Driver Version: 352.39 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 750 Off | 0000:01:00.0 On | N/A |
| 22% 31C P8 0W / 38W | 438MiB / 2046MiB | 2% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 731 C /usr/bin/python 24MiB |
| 0 1121 G /usr/bin/X 260MiB |
| 0 2058 G compiz 140MiB |
| 0 8408 G /proc/self/exe 3MiB |
+-----------------------------------------------------------------------------+






14.04 nvidia ram gpu






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 24 '16 at 18:51









bfrguci

348212




348212










asked Feb 24 '16 at 18:22









BreezeBreeze

532621




532621













  • 1. Ubuntu will do itself that when needed. 2. dumping it costs resources so will slow your system down 3. it will slow down even more since it will also reload it into memory.

    – Rinzwind
    Feb 24 '16 at 18:23











  • By freeing I meant removing or disabling any needed application as well. so basically that X, or compiz can be shut down right? they shouldnt be some system critical apps right?

    – Breeze
    Feb 24 '16 at 19:29



















  • 1. Ubuntu will do itself that when needed. 2. dumping it costs resources so will slow your system down 3. it will slow down even more since it will also reload it into memory.

    – Rinzwind
    Feb 24 '16 at 18:23











  • By freeing I meant removing or disabling any needed application as well. so basically that X, or compiz can be shut down right? they shouldnt be some system critical apps right?

    – Breeze
    Feb 24 '16 at 19:29

















1. Ubuntu will do itself that when needed. 2. dumping it costs resources so will slow your system down 3. it will slow down even more since it will also reload it into memory.

– Rinzwind
Feb 24 '16 at 18:23





1. Ubuntu will do itself that when needed. 2. dumping it costs resources so will slow your system down 3. it will slow down even more since it will also reload it into memory.

– Rinzwind
Feb 24 '16 at 18:23













By freeing I meant removing or disabling any needed application as well. so basically that X, or compiz can be shut down right? they shouldnt be some system critical apps right?

– Breeze
Feb 24 '16 at 19:29





By freeing I meant removing or disabling any needed application as well. so basically that X, or compiz can be shut down right? they shouldnt be some system critical apps right?

– Breeze
Feb 24 '16 at 19:29










1 Answer
1






active

oldest

votes


















0














sudo nvidia-smi --gpu-reset -i 0





share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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%2faskubuntu.com%2fquestions%2f738631%2fhow-can-i-free-my-gpu-memory-in-ubuntu-14-04%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














    sudo nvidia-smi --gpu-reset -i 0





    share|improve this answer




























      0














      sudo nvidia-smi --gpu-reset -i 0





      share|improve this answer


























        0












        0








        0







        sudo nvidia-smi --gpu-reset -i 0





        share|improve this answer













        sudo nvidia-smi --gpu-reset -i 0






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 12 mins ago









        AtineshAtinesh

        159215




        159215






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f738631%2fhow-can-i-free-my-gpu-memory-in-ubuntu-14-04%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

            GameSpot

            日野市

            Tu-95轟炸機