Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-11-2021, 07:54 PM   #16
LQ Newbie
Registered: Jun 2021
Distribution: N00buntu
Posts: 3

Original Poster
Rep: Reputation: Disabled

Originally Posted by pan64 View Post
Again, please read (and also there is a link at the bottom - how can I verify - for additional info) if you wish to understand how is it working. Don't assume anything.
Duly noted, thanks for the background info on this.

Originally Posted by syg00 View Post
Seems to me the OP has a pretty good handle on the overall theory.
What does /proc/meminfo show over time - say every 15 minutes or so ?.
I think I will take some time to put this in a cron job, parse this into a database table, and then that will allow me to plot some pretty graphs. I'll get back to this thread with results from that when I have them.

Originally Posted by syg00 View Post
I skimmed over this earlier.
Java is awful, people that code in it are co-erced into lazy habits. Bad combination.
If you can get rid of those tasks altogether, the buy-back may be better than you hope.
I bet this is because the JVM manages memory on its own and does not leave block management up to the kernel, garbage collection cuts both ways. Ironically, I found I get better performance from my Minikube by limiting its memory consumption.
Old 06-12-2021, 03:28 AM   #17
LQ Guru
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 16,488

Rep: Reputation: 5530Reputation: 5530Reputation: 5530Reputation: 5530Reputation: 5530Reputation: 5530Reputation: 5530Reputation: 5530Reputation: 5530Reputation: 5530Reputation: 5530
jvm itself manages only its own memory (as any other process), jvm cannot manage swap, that is made by kernel only.
Old 06-12-2021, 07:00 AM   #18
Senior Member
Registered: Dec 2011
Location: Simplicity
Posts: 1,740

Rep: Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789
List the top 10 RSS (resident RAM) consumers:
ps -eo pid,user,rss,vsz,args | sort -k3,3n |tail
Run this every couple of minutes.
Which processes have growing memory?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] diagnosing heavy cpu system usage andrews-mark Linux - General 3 10-24-2011 03:48 PM
System freeze on large file/heavy disk jshellman Linux - Hardware 1 11-15-2006 03:47 PM
LCD Screens ~ Dangerous under heavy usage? Twiggy794 Linux - Hardware 8 01-10-2004 01:13 PM
Heavy processor usage while doing almost nothing Wynd Linux - General 12 01-09-2004 11:02 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration