Choose style:

Author Topic: High memory usage while using live USB  (Read 5279 times)

0 Members and 1 Guest are viewing this topic.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25725
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: High memory usage while using live USB
« Reply #15 on: August 13, 2014, 03:18:14 pm »
Code: [Select]
mark@AA1-Blue ~ $ free -m
                          total       used       free     shared    buffers     cached
Mem:                      1367        399        968         36         34        234
-/+ buffers/cache:        130         1237
Swap:                     1521         0         1521
The 130 figure in the above output is the correct memory usage

the 399 includes caches/buffers
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline rjm65

  • Veteran
  • ****
  • Posts: 1003
  • Karma: 300
  • I have Peppermint Fresh Breath. :P
    • View Profile
  • Peppermint version(s): Win-98 /Win-7/ Peppermint 9
Re: High memory usage while using live USB
« Reply #16 on: August 13, 2014, 03:48:29 pm »
that makes sense i was reading the wrong one then...  ;)
Robert
Peppermint 9 User

Gateway Solo 9300 Pro
IBM T40

Offline britgreek

  • nOOb
  • *
  • Posts: 9
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 7 32bit
Re: High memory usage while using live USB
« Reply #17 on: August 16, 2014, 11:06:59 am »
OK, so here it is (free-m command screenshot). http://picpaste.com/screen1-BI6qdFyM.png

This time, after restarting the system (right after the installation), I ran task manager to check ram usage. It was indeed 212. I ran chromium to send an email (770Mb with Chromium running), and closed it. After I closed Chromium, I waited for 2-3 minutes, but ram usage didn't get any lower than 400Mbs in idle mode. To me, it seems that on my system, the OS fails to clear up ram .

Anyway, thank you all for trying to help. I'll have to stick with mint cinnamon for now, even though I truly like Peppermint.


Offline rjm65

  • Veteran
  • ****
  • Posts: 1003
  • Karma: 300
  • I have Peppermint Fresh Breath. :P
    • View Profile
  • Peppermint version(s): Win-98 /Win-7/ Peppermint 9
Re: High memory usage while using live USB
« Reply #18 on: August 16, 2014, 11:38:43 am »
is it just me or in his screenshot the actual memory used is not showing either time he tried it?
In the above pos mark's code shows a figure after -/+ buffers/cache: where the OP's does not show this figure?
Robert
Peppermint 9 User

Gateway Solo 9300 Pro
IBM T40

Offline Slim.Fatz

  • Trusted User
  • Veteran
  • *****
  • Posts: 1779
  • Karma: 470
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: High memory usage while using live USB
« Reply #19 on: August 16, 2014, 11:50:21 am »
is it just me or in his screenshot the actual memory used is not showing either time he tried it?
In the above pos mark's code shows a figure after -/+ buffers/cache: where the OP's does not show this figure?
I hate to be the one who says this but: It's just you.


His (the OP's) screen shots show the values (top output is 712 MB, bottom output is 448 MB), while in Mark's post it is not a screen shot but a table representing what is seen in a screen shot (so the spacing is different and probably misled you).


Regards,
-- Slim
« Last Edit: August 16, 2014, 11:53:58 am by Slim.Fatz »
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25725
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: High memory usage while using live USB
« Reply #20 on: August 16, 2014, 11:55:35 am »
It IS showing it as

712

and the second time he ran it

448

Both of these are WAY too high for a system that's just been booted to the desktop and NOTHING ELSE.

But I'm questioning if this is the case .. DID the OP reboot and then run "free -m" before running ANY other apps

If so, why the 2 attempts, and why the massive difference ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Slim.Fatz

  • Trusted User
  • Veteran
  • *****
  • Posts: 1779
  • Karma: 470
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: High memory usage while using live USB
« Reply #21 on: August 16, 2014, 12:01:00 pm »
The OP says initially the output was 212MB (not shown, but running task-manager, which he also used to get the RAM value of 212 MB). The pictured outputs are:


Top (or first) output of 712 MB (although he says it was 770 MB) was while running Chromium.


Bottom (or 2nd) output of 448 MB was 2-3 minutes after closing Chromium.


-- Slim
« Last Edit: August 16, 2014, 12:03:11 pm by Slim.Fatz »
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25725
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: High memory usage while using live USB
« Reply #22 on: August 16, 2014, 12:18:05 pm »
Ahh, my mistake.

If this is a Live environment, Chrome would be left in RAM as a kind of cache and only cleaned out when something else flushed it.

Which is why wee say it only makes sense when you check from a clean boot

The only time this would be a problem is if the memory garbage collection didn't occur when something NEW was loaded.

That said, there *could* be a memory leak issue with Chromium .. Google aps have been known to leak memory in the past.
You could check this by opening chromium on a static website (static menaing no changing content or flash etc.) and monitor Chromiums memory footprint .. if it continues to rise, it's likely got a memory leak.

Memory garbage collection is NOT immediate in Linux (or any other OS) as it speeds things up to leave an app in RAM in case it's called again .. and only to release that memory if it's needed by another app that *is* active.
« Last Edit: August 16, 2014, 12:24:44 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline rjm65

  • Veteran
  • ****
  • Posts: 1003
  • Karma: 300
  • I have Peppermint Fresh Breath. :P
    • View Profile
  • Peppermint version(s): Win-98 /Win-7/ Peppermint 9
Re: High memory usage while using live USB
« Reply #23 on: August 16, 2014, 12:24:20 pm »
he claims it is installed now and not live...
which makes no sense too me...
Installed it should be around 118 megs ram, yet he says it is still higher then mint 17 cinnamon which I know uses about 275 megs of ram, compared to peppermint at 118 megs...  Either he is totally tweaking out mint 17, and doing no tweaking with peppermint at all, or something is wrong somewhere....
Robert
Peppermint 9 User

Gateway Solo 9300 Pro
IBM T40

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25725
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: High memory usage while using live USB
« Reply #24 on: August 16, 2014, 12:26:11 pm »
If it's installed, 212 is way too high, unless he's using say a graphics card that uses system RAM.

Memory garbage collection is NOT immediate in Linux (or any other OS) as it speeds things up to leave an app in RAM in case it's called again .. and only to release that memory if it's needed by another app that *is* active.

Check it out yourself .. run LibreOffice, close it, open it again .. it started much faster the second time right ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec