Author Topic: LMCE using too much memory  (Read 2253 times)

donpaul

  • Guru
  • ****
  • Posts: 300
    • View Profile
LMCE using too much memory
« on: February 21, 2009, 02:28:33 am »
My LMCE core regularly uses over 3G of my memory, and I often need to reboot. LMCE is using 1G the minute it boots, and will stay there until I start doing something. When watching live tv, memory always maxes out. From what I read on here, that shouldn't happen. I am tempted to reinstall and start over, but I'd rather not go through that again. Also, would be nice to have a highmem kernel :) Memory is cheap, and 8G would be easy.

-Don

MemTotal:      3370000 kB
MemFree:        124772 kB
Buffers:         54436 kB
Cached:        2880840 kB
SwapCached:      35776 kB
Active:         763248 kB
Inactive:      2380916 kB
HighTotal:     2490048 kB
HighFree:         4032 kB
LowTotal:       879952 kB
LowFree:        120740 kB
SwapTotal:     1959888 kB
SwapFree:      1924112 kB
Dirty:            1484 kB
Writeback:         592 kB
AnonPages:      172960 kB
Mapped:          67944 kB
Slab:            69548 kB
SReclaimable:    53068 kB
SUnreclaim:      16480 kB
PageTables:       3380 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   3644888 kB
Committed_AS:  2546700 kB
VmallocTotal:   114680 kB
VmallocUsed:      6656 kB
VmallocChunk:   107728 kB




20385 root      15   0 1274m  21m  13m S    0  0.7   0:08.66 DCERouter
30932 mythtv    18   0  252m  21m  10m S    1  0.7   0:41.72 mythbackend
20915 root      15   0  230m 2884 2028 S    0  0.1   0:00.00 External_Media_
10558 root      15   0  188m 4580 2528 S    0  0.1   0:00.56 fuppesd
 5129 mysql     22   0  138m  51m 5660 S    0  1.6   0:39.72 mysqld
 9721 root      16   0 76384 1284  852 S    0  0.0   0:00.50 djmount
 5549 bind      25   0 57256  20m 2260 S    0  0.6   0:00.36 named
23306 root      34  19 56232 7628 6396 S    0  0.2   0:11.91 UpdateMedia
12185 root      15   0 49552  17m  13m S    0  0.5   0:00.34 lmce_launch_man
21059 root      25   0 49460 3476 2904 S    0  0.1   0:01.05 HAL
20923 root      24   0 39996 3308 2724 S    0  0.1   0:00.01 Asterisk
21093 root      15   0 34672 4012 3404 S    0  0.1   0:00.31 Disk_Drive
20846 root      25   0 34516 3468 2876 S    0  0.1   0:00.01 App_Server
12079 root      20  -1 34240  11m 3408 S    0  0.3   0:00.86 Xorg
 9201 www-data  18   0 29516  10m 4064 S    0  0.3   0:00.42 apache2
 7372 asterisk -11   0 28932  10m 6620 S    0  0.3   0:00.51 asterisk
 9198 www-data  15   0 28852  10m 3768 S    0  0.3   0:00.31 apache2
 9197 www-data  15   0 28300 9.8m 3752 S    0  0.3   0:00.17 apache2
 9202 www-data  16   0 28284 9900 3692 S    0  0.3   0:00.10 apache2
 9200 www-data  15   0 27648 9152 3316 S    0  0.3   0:00.22 apache2
« Last Edit: February 21, 2009, 02:38:33 am by donpaul »

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: LMCE using too much memory
« Reply #1 on: February 21, 2009, 03:07:05 am »
nonsense! that's not what these numbers say at all. do some searches on memory use in the forum and you'll get your answer very quickly... a core can very comfortably run on 1G RAM and at a push even 512MB without too much difficulty. if you want to confirm this, just check how much swap space it is using... you'll see its almost none at all (30MB).

donpaul

  • Guru
  • ****
  • Posts: 300
    • View Profile
Re: LMCE using too much memory
« Reply #2 on: February 21, 2009, 03:32:57 am »
You're right. I didn't take into account the disk cache. Brain fart...

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: LMCE using too much memory
« Reply #3 on: February 21, 2009, 03:37:46 am »
You're right. I didn't take into account the disk cache. Brain fart...

;)