7 GB on system boot! Why??

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
simiusmaximus
Level 1
Level 1
Posts: 2
Joined: Fri Sep 06, 2019 11:02 am

7 GB on system boot! Why??

Post by simiusmaximus » Fri Sep 06, 2019 11:15 am

Greetings,

This is my first post to this forum and I'm hoping some knowledgeable member can help me with my problem.

Recently, after my system froze due to running out of available memory, I noticed that my system is using 7+ GB of the 16 GB available RAM on system boot (with no other processes running). Typically, approximately 1GB is used on system boot.

Anyone have any idea what's going on with my Linux system? Below is my system information, if that helps.

Code: Select all

System:    Host: HAL9000 Kernel: 4.15.0-60-generic x86_64 bits: 64 gcc: 7.4.0
           Desktop: Cinnamon 3.8.9 (Gtk 3.22.30) dm: lightdm Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: Dell product: XPS 13 9370 serial: N/A  Chassis: type: 10 serial: N/A
           Mobo: Dell model: 0F6P3V v: A00 serial: N/A UEFI [Legacy]: Dell v: 1.4.0 date: 05/25/2018
Battery    BAT0: charge: 45.0 Wh 100.0% condition: 45.0/52.0 Wh (86%) volts: 8.7/7.6
           model: LGC-LGC6.73 DELL H754V85 serial: <filter>status: Full
CPU:       Quad core Intel Core i7-8550U (-MT-MCP-) arch: Kaby Lake rev.10 cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 15936
           clock speeds: min/max: 400/4000 MHz 1: 1019 MHz 2: 800 MHz 3: 800 MHz 4: 800 MHz 5: 800 MHz
           6: 800 MHz 7: 799 MHz 8: 800 MHz
Graphics:  Card: Intel UHD Graphics 620 bus-ID: 00:02.0 chip-ID: 8086:5917
           Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1600x900@59.99hz
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2)
           version: 4.5 Mesa 19.0.8 (compat-v: 3.0) Direct Render: Yes
Audio:     Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel bus-ID: 00:1f.3 chip-ID: 8086:9d71
           Sound: Advanced Linux Sound Architecture v: k4.15.0-60-generic
Network:   Card: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
           driver: ath10k_pci bus-ID: 02:00.0 chip-ID: 168c:003e
           IF: wlp2s0 state: up mac: <filter>
Drives:    HDD Total Size: 1000.2GB (49.6% used)
           ID-1: /dev/sda model: CT1000MX500SSD4 size: 1000.2GB serial: <filter>
Partition: ID-1: / size: 901G used: 448G (53%) fs: ext4 dev: /dev/dm-0
           ID-2: swap-1 size: 16.59GB used: 0.64GB (4%) fs: swap dev: /dev/dm-1
RAID:      System: supported: N/A
           No RAID devices: /proc/mdstat, md_mod kernel module present
           Unused Devices: none
Sensors:   System Temperatures: cpu: 47.5C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Repos:     Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
           deb https: //cloud.r-project.org/bin/linux/ubuntu bionic-cran35/
           Active apt sources in file: /etc/apt/sources.list.d/font-manager-staging-bionic.list
           deb http: //ppa.launchpad.net/font-manager/staging/ubuntu bionic main
           deb-src http: //ppa.launchpad.net/font-manager/staging/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/geogebra.list
           deb http: //www.geogebra.net/linux/ stable main
           Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
           deb [arch=amd64] http: //dl.google.com/linux/chrome/deb/ stable main
           Active apt sources in file: /etc/apt/sources.list.d/js-reynaud-kicad-5_1-bionic.list
           deb http: //ppa.launchpad.net/js-reynaud/kicad-5.1/ubuntu bionic main
           deb-src http: //ppa.launchpad.net/js-reynaud/kicad-5.1/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/lyx-devel-release-bionic.list
           deb http: //ppa.launchpad.net/lyx-devel/release/ubuntu bionic main
           deb-src http: //ppa.launchpad.net/lyx-devel/release/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/mozillateam-firefox-next-bionic.list
           deb http: //ppa.launchpad.net/mozillateam/firefox-next/ubuntu bionic main
           deb-src http: //ppa.launchpad.net/mozillateam/firefox-next/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http: //mirrors.evowise.com/linuxmint/packages tara main upstream import backport
           deb http: //archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
           deb http: //archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
           deb http: //archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
           deb http: //security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
           deb http: //archive.canonical.com/ubuntu/ bionic partner
           Active apt sources in file: /etc/apt/sources.list.d/plt-racket-bionic.list
           deb http: //ppa.launchpad.net/plt/racket/ubuntu bionic main
           deb-src http: //ppa.launchpad.net/plt/racket/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/sylvain-pineau-kazam-bionic.list
           deb http: //ppa.launchpad.net/sylvain-pineau/kazam/ubuntu bionic main
           deb-src http: //ppa.launchpad.net/sylvain-pineau/kazam/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/ubuntu-toolchain-r-test-bionic.list
           deb http: //ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic main
           deb-src http: //ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/vscode.list
           deb [arch=amd64] http: //packages.microsoft.com/repos/vscode stable main
Info:      Processes: 301 Uptime: 39 min Memory: 12948.7/15488.8MB
           Init: systemd v: 237 runlevel: 5 Gcc sys: 7.4.0 Client: Unknown python3.6 client inxi: 2.3.56
Last edited by Moem on Fri Sep 06, 2019 11:38 am, edited 1 time in total.
Reason: Adding [code] tags. It puts long output into a neat scrollable box and retains some helpful formatting.

deck_luck
Level 3
Level 3
Posts: 177
Joined: Mon May 27, 2019 6:57 pm
Location: here

Re: 7 GB on system boot! Why??

Post by deck_luck » Fri Sep 06, 2019 1:57 pm

You should start by doing some basic system memory utilization monitoring.

To view the system memory utilization overview open a terminal and run the following commands:

Code: Select all

free -h   

ps aux | head -1 ; ps aux | sort -rn -k4,4 | head -8
In the free -h output notice the cache value. It can be quite high depending on the amount of disk i/o you are performing. The majority of the cache will be disk read cache allocation, and Linux can quickly free up this type of cache when memory pressure begins. A high cache makes the system appear to be in memory starvation when in reality it is not.

The ps aux command will list the top processes using the most resident memory. This command may be helpful to identify a process with a memory leak.


GUI alternative

If you like gui monitoring you can use the task manager or some distros it is called the system monitor. You can click on the RSS column to sort by resident memory usage. You need to make sure the gui monitoring program is showing all process and the rss column is viewable.
💡Give a man a fish, and you feed him for a day. Teach a man to fish, and you feed him for a lifetime. ✝️

simiusmaximus
Level 1
Level 1
Posts: 2
Joined: Fri Sep 06, 2019 11:02 am

Re: 7 GB on system boot! Why??

Post by simiusmaximus » Fri Sep 06, 2019 5:19 pm

Thanks for the suggestions.

I found a java process which for some reason loaded on boot and was using about 6GB of system ram. I killed the process and got the RAM back. No idea why this process was running or why it loaded on boot. In any case, the problem seems to be resolved now.

Post Reply

Return to “Cinnamon”