eating memory

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
kkn1

eating memory

Post by kkn1 »

hello.
after upgrading to cinnamon 18.3 my "cinnamon" will not stop hugging memory, after a 4 days its up to close to 70% memory usage witch it will not dump.
Screenshot from 2017-12-07 18-37-41.png
and at times when i scroll my browser my "webcontent" will hug CPU usage like H ( to say it nice ).
Screenshot from 2017-12-03 18-07-40.png
i dont know if this i caused by VLC or not, but after i upgraded my VLC started to "hang" a few sec when i watching a video, it freezes the pic but not the sound and then resumes, this can happen several times during a video.

is there enny one else who have the same/experienced this problem?
i upgraded from 18.2 to 18.3 with no problem ( during upgrade )
or is there some one who have a solution to this?
  • System: Host: htcp Kernel: 4.10.0-40-generic x86_64 (64 bit gcc: 5.4.0)
    Desktop: Cinnamon 3.6.6 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia
    Machine: Mobo: INTEL model: CRESCENTBAY Bios: American Megatrends v: 5.6.5 date: 08/29/2015
    CPU: Dual core Intel Core i5-5200U (-HT-MCP-) cache: 3072 KB
    flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 8779
    clock speeds: max: 2700 MHz 1: 1294 MHz 2: 1202 MHz 3: 1108 MHz 4: 1191 MHz
    Graphics: Card: Intel Broadwell-U Integrated Graphics bus-ID: 00:02.0
    Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) Resolution: 1920x1080@60.00hz
    GLX Renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2)
    GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: Yes
    Audio: Card Intel Broadwell-U Audio Controller driver: snd_hda_intel bus-ID: 00:03.0
    Sound: Advanced Linux Sound Architecture v: k4.10.0-40-generic
    Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
    driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 02:00.0
    IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
    Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
    driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 03:00.0
    IF: enp3s0 state: down mac: <filter>
    Card-3: Broadcom BCM43225 802.11b/g/n driver: bcma-pci-bridge bus-ID: 04:00.0
    IF: wlp4s0b1 state: down mac: <filter>
    Drives: HDD Total Size: 250.1GB (14.2% used) ID-1: /dev/sda model: Samsung_SSD_850 size: 250.1GB
    Partition: ID-1: / size: 221G used: 26G (13%) fs: ext4 dev: /dev/sda2
    ID-2: swap-1 size: 8.49GB used: 0.22GB (3%) fs: swap dev: /dev/sda3
    RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
    Sensors: System Temperatures: cpu: 37.0C mobo: 29.8C
    Fan Speeds (in rpm): cpu: N/A
    Info: Processes: 222 Uptime: 4 days Memory: 6256.2/7886.7MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
    Client: Shell (bash 4.3.481) inxi: 2.2.35
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Pjotr
Level 24
Level 24
Posts: 20086
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: eating memory

Post by Pjotr »

Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
kkn1

Re: eating memory

Post by kkn1 »

Pjotr wrote:Try this:
https://sites.google.com/site/easylinux ... n-Cinnamon
(item 7.1, right column)
thank you, memory problem seems to be solved as of now.
User avatar
Pjotr
Level 24
Level 24
Posts: 20086
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: eating memory

Post by Pjotr »

Good to hear! :)

Additionally, you might get better performance by a driver switch for your video chipset:
https://sites.google.com/site/easylinux ... l-graphics
(item 6, left column)
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
kkn1

Re: eating memory

Post by kkn1 »

well after a few days cinnamon will stil not dump the memory usage down.
and i stil get hangs on videos when watching them.
to get memory usage down on cinnamon i have to reboot.

Screenshot from 2017-12-10 11-36-41.png
User avatar
Pjotr
Level 24
Level 24
Posts: 20086
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: eating memory

Post by Pjotr »

What extra applets or desklets have you installed in your Cinnamon? Those are the usual suspects....
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
kkn1

Re: eating memory

Post by kkn1 »

kodi ( but not used in over 3 months )
a weather app
and a screen shot app

and i just "purged" ( few mins before typing this ) some old kernels ( from another tread you did comment in ) but there are loads of headers stil there ( have not rebooted after purging witch i will be doing after posting this ).
deepakdeshp
Level 20
Level 20
Posts: 12334
Joined: Sun Aug 09, 2015 10:00 am

Re: eating memory

Post by deepakdeshp »

If possible daily reboot the machine.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
User avatar
mtj
Level 1
Level 1
Posts: 46
Joined: Sun Dec 11, 2016 6:05 am
Location: Italy

Re: eating memory

Post by mtj »

Applets, extensions and desklets are usually hungry of RAM.
I solved removing all of them, reducing windows effects and other cool esthetic elements and if used RAM by Cinnamon grows up I restart it (right clic on the panel, Select Troubleshoot > Restart Cinnamon).
Max
Linux Mint 20.3 Cinnamon 64bit
kkn1

Re: eating memory

Post by kkn1 »

mtj wrote:Applets, extensions and desklets are usually hungry of RAM.
I solved removing all of them, reducing windows effects and other cool esthetic elements and if used RAM by Cinnamon grows up I restart it (right clic on the panel, Select Troubleshoot > Restart Cinnamon).
i have to reboot daily to do so.
i did not have this problem under 18.2
this is the first time since 17.0 that i have had problem with cinnamon not dumping/freeing up from the memory.
from version 18.2 and down i could have my pc on for weeks with out enny problem.
and every thing is up to date.
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: eating memory

Post by thx-1138 »

i have to reboot daily to do so.
Not a solution, but a way to at least avoid having to reboot until the culprit is found...
https://www.unixmen.com/how-to-clear-me ... x-servers/
User avatar
clem
Level 12
Level 12
Posts: 4308
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Re: eating memory

Post by clem »

Hi,

You didn't identify the cause of the memory leak, so it's hard to propose a solution.

That said, you don't need to reboot... you can restart Cinnamon even without stopping the session. Press Alt+F2, type r and press Enter. This will restart the Cinnamon process within the same session.
Image
kkn1

Re: eating memory

Post by kkn1 »

well for a person who do not know much about linux exept the newb basic so to say its hard for me to know what to look for.
is there a command to see where in cinnamon to look for a "list" so to say?
like list what processes under cinnamon witch is active for ex?
kkn1

Re: eating memory

Post by kkn1 »

the only file/place i can find that will not dump the memory is "cinnamon -- replace" file.
as show in this screen shot
Screenshot from 2018-01-04 17-16-10.png
Screenshot from 2018-01-04 17-19-35.png
Locked

Return to “Software & Applications”