Choose style:

Author Topic: RAM fills up (SOLVED)  (Read 882 times)

0 Members and 1 Guest are viewing this topic.

Offline mefibo

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
RAM fills up (SOLVED)
« on: June 20, 2019, 05:38:46 pm »
My system is a HP Stream 11 Notebook, 2GB RAM, 28GB SSD. Linux Peppermint 10 64bit. I am reading everywhere that it is just cache but my system freezes with full capacity RAM occupied. Using HTop and free -m shows there is virtually no memory available. At startup the system only uses about 475MB; then it slowly moves up using all free RAM.
« Last Edit: June 27, 2019, 01:03:19 pm by mefibo »

Offline scifidude79

  • Global Moderator
  • Hero
  • *****
  • Posts: 4029
  • Karma: 863
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: RAM fills up
« Reply #1 on: June 20, 2019, 05:56:21 pm »
Moved to appropriate board.

In the terminal, please run this command:

Code: [Select]
inxi -Fz

When it's done, please copy, paste and post the output here.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25464
  • Karma: 2801
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: RAM fills up
« Reply #2 on: June 20, 2019, 05:59:20 pm »
Watching htop, which process has a continually climbing memory usage ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline mefibo

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: RAM fills up
« Reply #3 on: June 20, 2019, 06:02:39 pm »
This is what I get:

Code: [Select]
System:    Host: mefibo-HP-Stream-Notebook-PC-11 Kernel: 4.18.0-22-generic x86_64
           bits: 64
           Desktop: N/A Distro: Peppermint Ten
Machine:   Device: laptop System: Hewlett-Packard product: HP Stream Notebook PC 11 v: Type1 - ProductConfigId serial: N/A
           Mobo: Hewlett-Packard model: 8023 v: 54.12 serial: N/A
           UEFI: Insyde v: F.0A date: 07/22/2016
Battery    BAT0: charge: 33.2 Wh 100.0% condition: 33.2/33.2 Wh (100%)
CPU:       Dual core Intel Celeron N2840 (-MCP-) cache: 1024 KB
           clock speeds: max: 2582 MHz 1: 897 MHz 2: 1424 MHz
Graphics:  Card: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
           Display Server: x11 (X.Org 1.20.1 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.07hz
           OpenGL: renderer: Mesa DRI Intel Bay Trail version: 4.2 Mesa 18.2.8
Audio:     Card Intel Atom Processor Z36xxx/Z37xxx Series High Def. Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.18.0-22-generic
Network:   Card: Realtek RTL8723BE PCIe Wireless Network Adapter driver: rtl8723be
           IF: wlp1s0 state: up mac: <filter>
Drives:    HDD Total Size: 31.1GB (34.1% used)
           ID-1: /dev/mmcblk0 model: N/A size: 31.3GB
           ID-2: USB /dev/sda model: SD/MMC/MS_PRO size: 31.1GB
Partition: ID-1: / size: 29G used: 9.9G (38%) fs: ext4 dev: /dev/mmcblk0p2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 43.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 175 Uptime: 1:46 Memory: 1217.7/1884.6MB
           Client: Shell (bash) inxi: 2.3.56
« Last Edit: June 21, 2019, 01:28:44 am by zebedeeboss »

Offline mefibo

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: RAM fills up
« Reply #4 on: June 20, 2019, 06:06:39 pm »
There is one program maybe using up RAM - 847MB - nordvpn. In HTop  /usr/sbin/nordvpnd

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25464
  • Karma: 2801
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: RAM fills up
« Reply #5 on: June 20, 2019, 07:59:00 pm »
kill nordvpn, and see if your memory still climbs
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3033
  • Karma: 562
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: RAM fills up
« Reply #6 on: June 21, 2019, 01:34:15 am »
Hi mefibo,

You need to encapsulate the terminal output with the Insert, Code # function.  For extra long outputs, please use the Spoiler, Sp function.  If you’re a Chromium Browser and/or a Google Chrome user, please don't combine these functions.  For some reason, they don’t work well together with these browsers.  The formatting gets all goofed up.  Only use one or the other  ;).  These forum functions preserve the original format of the output.  This makes it easier for future visitors to relate to their own issues.  These functions are found in the forum editor, above the,  :-[ Embarrassed and  the :'( Cry emoticon respectively.  Use the Preview button to check how it'll look after you post it to forum.  I have done it for you this time, I hope this helps  ;).

Regards Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline mefibo

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: RAM fills up
« Reply #7 on: June 21, 2019, 10:48:36 am »
Killing nordvpn did not solve the problem

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25464
  • Karma: 2801
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: RAM fills up
« Reply #8 on: June 21, 2019, 03:39:55 pm »
So keep an eye on htop and figure out what's using all the memory ? .. we can't guess what's using it ;)

and what's the output from:
Code: [Select]
free -m



And maybe see here:
https://askubuntu.com/questions/41778/computer-freezing-on-almost-full-ram-possibly-disk-cache-problem
« Last Edit: June 21, 2019, 03:49:19 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline mefibo

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: RAM fills up
« Reply #9 on: June 22, 2019, 09:44:43 am »
The link does not seem to reflect my problem; it is not cache that eats up my RAM, I think.
Free -m output, starting after boot and with 1 hour intervals; opened and closed Peppermint Forum, Text-editor and File manager, opened and  left opened Htop and Terminal. Apart from that I did nothing:

Code: [Select]
mefibo@mefibo-HP-Stream-Notebook-PC-11 ~ $ free -m
              total        used        free      shared  buff/cache   available
Mem:           1884         429         455          36         999        1265
Swap:          1359           0        1359
mefibo@mefibo-HP-Stream-Notebook-PC-11 ~ $ free -m
              total        used        free      shared  buff/cache   available
Mem:           1884         773          69          40        1042         930
Swap:          1359           0        1359
mefibo@mefibo-HP-Stream-Notebook-PC-11 ~ $ free -m
              total        used        free      shared  buff/cache   available
Mem:           1884        1087          76          40         720         628
Swap:          1359           0        1359
mefibo@mefibo-HP-Stream-Notebook-PC-11 ~ $ free -m
              total        used        free      shared  buff/cache   available
Mem:           1884        1404          77          41         402         308
Swap:          1359           5        1354

In 1 or two hours my system will freeze and eventually black screen and totally unresponsive. Have t use the physical on/off button.

I will keep monitoring memory usage, but at first glance nothing stands out.
Am I looking at the right column in Htop - SHR residant memory?

Offline mefibo

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: RAM fills up
« Reply #10 on: June 22, 2019, 10:06:32 am »
I am sorry, I meant monitoring RES, not SHR

Offline mefibo

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: RAM fills up
« Reply #11 on: June 22, 2019, 10:50:56 am »
Would it help if I made a screen-recording of Htop running?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25464
  • Karma: 2801
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: RAM fills up
« Reply #12 on: June 22, 2019, 04:31:16 pm »
Start htop with this command
Code: [Select]
htop -s PERCENT_MEM
that should show the top processes listed by memory usage .. then just leave it running and see what what rises to the top.
« Last Edit: June 22, 2019, 11:06:35 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline mefibo

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: RAM fills up
« Reply #13 on: June 22, 2019, 07:38:32 pm »
Does ¨WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option¨ mean anything; am I doing something wrong?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25464
  • Karma: 2801
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: RAM fills up
« Reply #14 on: June 22, 2019, 07:46:21 pm »
No, it's just a kinda Linux joke in my forum signature :))
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec