How to clear cache,swap and what are the limits?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I am trying to run Docker but I need more memory on my Ubuntu 16.04
free -m
total used free shared buff/cache available
Mem: 7914 4024 3072 83 817 3448
Swap: 8127 14 8113
When I run docker
Setting advertised host to 127.0.0.1.
Operating system RAM available is 3344 MiB, which is less than the lowest
recommended of 5120 MiB. Your system performance may be seriously impacted.
What should I do to get more RAM?Is this possible?
ubuntu memory ram
add a comment |Â
up vote
2
down vote
favorite
I am trying to run Docker but I need more memory on my Ubuntu 16.04
free -m
total used free shared buff/cache available
Mem: 7914 4024 3072 83 817 3448
Swap: 8127 14 8113
When I run docker
Setting advertised host to 127.0.0.1.
Operating system RAM available is 3344 MiB, which is less than the lowest
recommended of 5120 MiB. Your system performance may be seriously impacted.
What should I do to get more RAM?Is this possible?
ubuntu memory ram
You will need to identify those process using the most memory and decide whether they can be stopped to retrieve memory or not. The top command will help you in this instance. Alternatively, you can vertically scale your system and add more memory to the system.
â Raman Sailopal
Jan 23 at 13:24
Ok.I have decided to kill pid with Cassandra Java,that akes 25% memory.
â MikiBelavista
Jan 23 at 13:33
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I am trying to run Docker but I need more memory on my Ubuntu 16.04
free -m
total used free shared buff/cache available
Mem: 7914 4024 3072 83 817 3448
Swap: 8127 14 8113
When I run docker
Setting advertised host to 127.0.0.1.
Operating system RAM available is 3344 MiB, which is less than the lowest
recommended of 5120 MiB. Your system performance may be seriously impacted.
What should I do to get more RAM?Is this possible?
ubuntu memory ram
I am trying to run Docker but I need more memory on my Ubuntu 16.04
free -m
total used free shared buff/cache available
Mem: 7914 4024 3072 83 817 3448
Swap: 8127 14 8113
When I run docker
Setting advertised host to 127.0.0.1.
Operating system RAM available is 3344 MiB, which is less than the lowest
recommended of 5120 MiB. Your system performance may be seriously impacted.
What should I do to get more RAM?Is this possible?
ubuntu memory ram
asked Jan 23 at 13:14
MikiBelavista
317515
317515
You will need to identify those process using the most memory and decide whether they can be stopped to retrieve memory or not. The top command will help you in this instance. Alternatively, you can vertically scale your system and add more memory to the system.
â Raman Sailopal
Jan 23 at 13:24
Ok.I have decided to kill pid with Cassandra Java,that akes 25% memory.
â MikiBelavista
Jan 23 at 13:33
add a comment |Â
You will need to identify those process using the most memory and decide whether they can be stopped to retrieve memory or not. The top command will help you in this instance. Alternatively, you can vertically scale your system and add more memory to the system.
â Raman Sailopal
Jan 23 at 13:24
Ok.I have decided to kill pid with Cassandra Java,that akes 25% memory.
â MikiBelavista
Jan 23 at 13:33
You will need to identify those process using the most memory and decide whether they can be stopped to retrieve memory or not. The top command will help you in this instance. Alternatively, you can vertically scale your system and add more memory to the system.
â Raman Sailopal
Jan 23 at 13:24
You will need to identify those process using the most memory and decide whether they can be stopped to retrieve memory or not. The top command will help you in this instance. Alternatively, you can vertically scale your system and add more memory to the system.
â Raman Sailopal
Jan 23 at 13:24
Ok.I have decided to kill pid with Cassandra Java,that akes 25% memory.
â MikiBelavista
Jan 23 at 13:33
Ok.I have decided to kill pid with Cassandra Java,that akes 25% memory.
â MikiBelavista
Jan 23 at 13:33
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
Use the below command to identify top 10 Memory consuming resources. so that you can trouble accordingly
ps axo %mem,command,pid| sort -nr | head
To drop cache use below command
sync;echo 1 > /proc/sys/vm/drop_caches
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
Use the below command to identify top 10 Memory consuming resources. so that you can trouble accordingly
ps axo %mem,command,pid| sort -nr | head
To drop cache use below command
sync;echo 1 > /proc/sys/vm/drop_caches
add a comment |Â
up vote
3
down vote
accepted
Use the below command to identify top 10 Memory consuming resources. so that you can trouble accordingly
ps axo %mem,command,pid| sort -nr | head
To drop cache use below command
sync;echo 1 > /proc/sys/vm/drop_caches
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
Use the below command to identify top 10 Memory consuming resources. so that you can trouble accordingly
ps axo %mem,command,pid| sort -nr | head
To drop cache use below command
sync;echo 1 > /proc/sys/vm/drop_caches
Use the below command to identify top 10 Memory consuming resources. so that you can trouble accordingly
ps axo %mem,command,pid| sort -nr | head
To drop cache use below command
sync;echo 1 > /proc/sys/vm/drop_caches
answered Jan 23 at 14:15
Praveen Kumar BS
1,010128
1,010128
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f419075%2fhow-to-clear-cache-swap-and-what-are-the-limits%23new-answer', 'question_page');
);
Post as a guest
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
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
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
You will need to identify those process using the most memory and decide whether they can be stopped to retrieve memory or not. The top command will help you in this instance. Alternatively, you can vertically scale your system and add more memory to the system.
â Raman Sailopal
Jan 23 at 13:24
Ok.I have decided to kill pid with Cassandra Java,that akes 25% memory.
â MikiBelavista
Jan 23 at 13:33