is it possible to reduce swap memory?
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
New contributor
add a comment |
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
New contributor
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 theterminal
typefree -h
orswapon
orcat /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
add a comment |
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
New contributor
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
14.04 partitioning ram swap
New contributor
New contributor
edited 3 hours ago
Monk Jake
New contributor
asked 4 hours ago
Monk JakeMonk Jake
11
11
New contributor
New contributor
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 theterminal
typefree -h
orswapon
orcat /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
add a comment |
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 theterminal
typefree -h
orswapon
orcat /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
add a comment |
1 Answer
1
active
oldest
votes
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
New contributor
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
|
show 2 more comments
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
New contributor
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
|
show 2 more comments
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
New contributor
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
|
show 2 more comments
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
New contributor
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
New contributor
edited 3 hours ago
New contributor
answered 3 hours ago
colbycdevcolbycdev
877
877
New contributor
New contributor
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
|
show 2 more comments
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
|
show 2 more comments
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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
typefree -h
orswapon
orcat /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