High memory consumption

General support questions
Post Reply
Honpl
Posts: 1
Joined: 2021/01/04 11:52:19

High memory consumption

Post by Honpl » 2021/01/04 12:12:42

I was trying to bring up my inhouse application, it throws the following error.

Open --- : no space left on device.
Free command output shows the below

total used free shared buff/cache available
Mem: 65701524 7035076 54496192 1446896 4170256 56688084
Swap: 4194300 0 4194300

I do not need any other apps running and consuming memory, so trying to figureout the culprit and used the following command.

ps -o pid,user,%mem,command ax | sort -b -k3 -r

That shows me the following in 3 rows consuming high memory .
java -Djava.security.egd=file:/dev/./urandom -jar /app.jar

I am new to Linux/centos please suggest on how do I solve it.

User avatar
TrevorH
Forum Moderator
Posts: 30179
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: High memory consumption

Post by TrevorH » 2021/01/04 12:22:35

It's more likely to be disk space.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - General Support”