is it possible to reduce swap memory?












-1















when I'm searching for swap memory reduce option.
it all shows the swap partition size reduce.

is it the same thing? I'm not really sure.



anyway I have system monitor with

memory 23.4GIB and swap 7.4GIB



I want to reduce the swap memory size and add it to real memory

and what is the reasonable size of swap memory size?



and its not a virtual machine



enter image description here <--------------------------------------check this










share|improve this question









New contributor




Monk Jake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 2





    You're slightly confused about swap memory, and how it's used. You can't take away or reduce swap and add it to real memory. Swap is not real physical memory. It is used when real memory needs to make room for other processes, and to do that, it moves older unused processes out to swap. Swap can be configured as a /swapfile, or a disk partition.

    – heynnema
    4 hours ago













  • can you look at my 'screenshot' link I posted above? I used GParted to look swap partition but I have no idea which one is a swap partition

    – Monk Jake
    4 hours ago











  • You don't have a swap partition currently. That probably means that you're using a 8G /swapfile, or worse yet... no swap at all. In the terminal type free -h or swapon or cat /etc/fstab to find out more about your swap configuration. I don't even see a Ubuntu partition. Are you running Ubuntu from a USB flash drive? What version Ubuntu?

    – heynnema
    4 hours ago


















-1















when I'm searching for swap memory reduce option.
it all shows the swap partition size reduce.

is it the same thing? I'm not really sure.



anyway I have system monitor with

memory 23.4GIB and swap 7.4GIB



I want to reduce the swap memory size and add it to real memory

and what is the reasonable size of swap memory size?



and its not a virtual machine



enter image description here <--------------------------------------check this










share|improve this question









New contributor




Monk Jake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 2





    You're slightly confused about swap memory, and how it's used. You can't take away or reduce swap and add it to real memory. Swap is not real physical memory. It is used when real memory needs to make room for other processes, and to do that, it moves older unused processes out to swap. Swap can be configured as a /swapfile, or a disk partition.

    – heynnema
    4 hours ago













  • can you look at my 'screenshot' link I posted above? I used GParted to look swap partition but I have no idea which one is a swap partition

    – Monk Jake
    4 hours ago











  • You don't have a swap partition currently. That probably means that you're using a 8G /swapfile, or worse yet... no swap at all. In the terminal type free -h or swapon or cat /etc/fstab to find out more about your swap configuration. I don't even see a Ubuntu partition. Are you running Ubuntu from a USB flash drive? What version Ubuntu?

    – heynnema
    4 hours ago
















-1












-1








-1








when I'm searching for swap memory reduce option.
it all shows the swap partition size reduce.

is it the same thing? I'm not really sure.



anyway I have system monitor with

memory 23.4GIB and swap 7.4GIB



I want to reduce the swap memory size and add it to real memory

and what is the reasonable size of swap memory size?



and its not a virtual machine



enter image description here <--------------------------------------check this










share|improve this question









New contributor




Monk Jake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












when I'm searching for swap memory reduce option.
it all shows the swap partition size reduce.

is it the same thing? I'm not really sure.



anyway I have system monitor with

memory 23.4GIB and swap 7.4GIB



I want to reduce the swap memory size and add it to real memory

and what is the reasonable size of swap memory size?



and its not a virtual machine



enter image description here <--------------------------------------check this







14.04 partitioning ram swap






share|improve this question









New contributor




Monk Jake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Monk Jake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 3 hours ago







Monk Jake













New contributor




Monk Jake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 4 hours ago









Monk JakeMonk Jake

11




11




New contributor




Monk Jake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Monk Jake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Monk Jake is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 2





    You're slightly confused about swap memory, and how it's used. You can't take away or reduce swap and add it to real memory. Swap is not real physical memory. It is used when real memory needs to make room for other processes, and to do that, it moves older unused processes out to swap. Swap can be configured as a /swapfile, or a disk partition.

    – heynnema
    4 hours ago













  • can you look at my 'screenshot' link I posted above? I used GParted to look swap partition but I have no idea which one is a swap partition

    – Monk Jake
    4 hours ago











  • You don't have a swap partition currently. That probably means that you're using a 8G /swapfile, or worse yet... no swap at all. In the terminal type free -h or swapon or cat /etc/fstab to find out more about your swap configuration. I don't even see a Ubuntu partition. Are you running Ubuntu from a USB flash drive? What version Ubuntu?

    – heynnema
    4 hours ago
















  • 2





    You're slightly confused about swap memory, and how it's used. You can't take away or reduce swap and add it to real memory. Swap is not real physical memory. It is used when real memory needs to make room for other processes, and to do that, it moves older unused processes out to swap. Swap can be configured as a /swapfile, or a disk partition.

    – heynnema
    4 hours ago













  • can you look at my 'screenshot' link I posted above? I used GParted to look swap partition but I have no idea which one is a swap partition

    – Monk Jake
    4 hours ago











  • You don't have a swap partition currently. That probably means that you're using a 8G /swapfile, or worse yet... no swap at all. In the terminal type free -h or swapon or cat /etc/fstab to find out more about your swap configuration. I don't even see a Ubuntu partition. Are you running Ubuntu from a USB flash drive? What version Ubuntu?

    – heynnema
    4 hours ago










2




2





You're slightly confused about swap memory, and how it's used. You can't take away or reduce swap and add it to real memory. Swap is not real physical memory. It is used when real memory needs to make room for other processes, and to do that, it moves older unused processes out to swap. Swap can be configured as a /swapfile, or a disk partition.

– heynnema
4 hours ago







You're slightly confused about swap memory, and how it's used. You can't take away or reduce swap and add it to real memory. Swap is not real physical memory. It is used when real memory needs to make room for other processes, and to do that, it moves older unused processes out to swap. Swap can be configured as a /swapfile, or a disk partition.

– heynnema
4 hours ago















can you look at my 'screenshot' link I posted above? I used GParted to look swap partition but I have no idea which one is a swap partition

– Monk Jake
4 hours ago





can you look at my 'screenshot' link I posted above? I used GParted to look swap partition but I have no idea which one is a swap partition

– Monk Jake
4 hours ago













You don't have a swap partition currently. That probably means that you're using a 8G /swapfile, or worse yet... no swap at all. In the terminal type free -h or swapon or cat /etc/fstab to find out more about your swap configuration. I don't even see a Ubuntu partition. Are you running Ubuntu from a USB flash drive? What version Ubuntu?

– heynnema
4 hours ago







You don't have a swap partition currently. That probably means that you're using a 8G /swapfile, or worse yet... no swap at all. In the terminal type free -h or swapon or cat /etc/fstab to find out more about your swap configuration. I don't even see a Ubuntu partition. Are you running Ubuntu from a USB flash drive? What version Ubuntu?

– heynnema
4 hours ago












1 Answer
1






active

oldest

votes


















0














You can't add swap to RAM. It just isn't possible. Swap is a file on your hard drive, RAM is physical hardware. And looks like you have plenty of RAM. If it were me, I'd just get rid of swap space. It will slowly wear down your drive.



To reduce swap, see here



To get rid of it see here






share|improve this answer










New contributor




colbycdev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • I reduce swap and it become unlocated but now I have no idea how to add it to real memory

    – Monk Jake
    3 hours ago











  • i reduced it but now I have no idea how to add it to real memory please check my link on my question

    – Monk Jake
    3 hours ago











  • You can't. It isn't possible

    – colbycdev
    3 hours ago











  • oh really? why?

    – Monk Jake
    3 hours ago











  • Read all of my answer, please

    – colbycdev
    3 hours ago











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
});


}
});






Monk Jake is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118642%2fis-it-possible-to-reduce-swap-memory%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














You can't add swap to RAM. It just isn't possible. Swap is a file on your hard drive, RAM is physical hardware. And looks like you have plenty of RAM. If it were me, I'd just get rid of swap space. It will slowly wear down your drive.



To reduce swap, see here



To get rid of it see here






share|improve this answer










New contributor




colbycdev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • I reduce swap and it become unlocated but now I have no idea how to add it to real memory

    – Monk Jake
    3 hours ago











  • i reduced it but now I have no idea how to add it to real memory please check my link on my question

    – Monk Jake
    3 hours ago











  • You can't. It isn't possible

    – colbycdev
    3 hours ago











  • oh really? why?

    – Monk Jake
    3 hours ago











  • Read all of my answer, please

    – colbycdev
    3 hours ago
















0














You can't add swap to RAM. It just isn't possible. Swap is a file on your hard drive, RAM is physical hardware. And looks like you have plenty of RAM. If it were me, I'd just get rid of swap space. It will slowly wear down your drive.



To reduce swap, see here



To get rid of it see here






share|improve this answer










New contributor




colbycdev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • I reduce swap and it become unlocated but now I have no idea how to add it to real memory

    – Monk Jake
    3 hours ago











  • i reduced it but now I have no idea how to add it to real memory please check my link on my question

    – Monk Jake
    3 hours ago











  • You can't. It isn't possible

    – colbycdev
    3 hours ago











  • oh really? why?

    – Monk Jake
    3 hours ago











  • Read all of my answer, please

    – colbycdev
    3 hours ago














0












0








0







You can't add swap to RAM. It just isn't possible. Swap is a file on your hard drive, RAM is physical hardware. And looks like you have plenty of RAM. If it were me, I'd just get rid of swap space. It will slowly wear down your drive.



To reduce swap, see here



To get rid of it see here






share|improve this answer










New contributor




colbycdev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










You can't add swap to RAM. It just isn't possible. Swap is a file on your hard drive, RAM is physical hardware. And looks like you have plenty of RAM. If it were me, I'd just get rid of swap space. It will slowly wear down your drive.



To reduce swap, see here



To get rid of it see here







share|improve this answer










New contributor




colbycdev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer








edited 3 hours ago





















New contributor




colbycdev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered 3 hours ago









colbycdevcolbycdev

877




877




New contributor




colbycdev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





colbycdev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






colbycdev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • I reduce swap and it become unlocated but now I have no idea how to add it to real memory

    – Monk Jake
    3 hours ago











  • i reduced it but now I have no idea how to add it to real memory please check my link on my question

    – Monk Jake
    3 hours ago











  • You can't. It isn't possible

    – colbycdev
    3 hours ago











  • oh really? why?

    – Monk Jake
    3 hours ago











  • Read all of my answer, please

    – colbycdev
    3 hours ago



















  • I reduce swap and it become unlocated but now I have no idea how to add it to real memory

    – Monk Jake
    3 hours ago











  • i reduced it but now I have no idea how to add it to real memory please check my link on my question

    – Monk Jake
    3 hours ago











  • You can't. It isn't possible

    – colbycdev
    3 hours ago











  • oh really? why?

    – Monk Jake
    3 hours ago











  • Read all of my answer, please

    – colbycdev
    3 hours ago

















I reduce swap and it become unlocated but now I have no idea how to add it to real memory

– Monk Jake
3 hours ago





I reduce swap and it become unlocated but now I have no idea how to add it to real memory

– Monk Jake
3 hours ago













i reduced it but now I have no idea how to add it to real memory please check my link on my question

– Monk Jake
3 hours ago





i reduced it but now I have no idea how to add it to real memory please check my link on my question

– Monk Jake
3 hours ago













You can't. It isn't possible

– colbycdev
3 hours ago





You can't. It isn't possible

– colbycdev
3 hours ago













oh really? why?

– Monk Jake
3 hours ago





oh really? why?

– Monk Jake
3 hours ago













Read all of my answer, please

– colbycdev
3 hours ago





Read all of my answer, please

– colbycdev
3 hours ago










Monk Jake is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Monk Jake is a new contributor. Be nice, and check out our Code of Conduct.













Monk Jake is a new contributor. Be nice, and check out our Code of Conduct.












Monk Jake is a new contributor. Be nice, and check out our Code of Conduct.
















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%2f1118642%2fis-it-possible-to-reduce-swap-memory%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

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局