Where did all my memory go?

Ivan Gyurdiev ivg2 at cornell.edu
Thu Feb 23 20:23:52 UTC 2006


> His looks more like a leak.
> 12535365 size-32 slabs is definitly an abnormal situation.
>   
Yes, it's definitely reproducible too, seems to happen every time I 
boot, which is rather odd, because I've been running with the same 
kernel and drivers for a few days now. Something must have broken it in 
recent upgrades. I am suspicious of mono...  but otoh I tried killing 
almost every app without recovering the memory, so doesn't that indicate 
a kernel problem?

I will do testing without the nvidia driver, and also with a stock 
kernel (and without mono) to uncover the problem.
Not sure what this means exactly, but oprofile says:

Counted MEM_PAGE_ACCESS events (Memory controller page access) with a 
unit mask of 0x07 (multiple flags) count 30000
MEM_PAGE_ACCES...|
  samples|      %|
------------------
    45007 46.9326 mono
        MEM_PAGE_ACCES...|
          samples|      %|
        ------------------
            33829 75.1639 mono
             3217  7.1478 anon (tgid:3087 range:0x40caa000-0x40d1a000)
             3139  6.9745 anon (tgid:3087 range:0x40225000-0x40265000)
             1843  4.0949 anon (tgid:3087 range:0x40014000-0x40024000)
              952  2.1152 anon (tgid:3087 range:0x40878000-0x408a8000)
              608  1.3509 anon (tgid:2815 range:0x40225000-0x40275000)
              375  0.8332 anon (tgid:3087 range:0x40f1b000-0x40f8b000)
              293  0.6510 anon (tgid:3087 range:0x40466000-0x40476000)
              277  0.6155 anon (tgid:2815 range:0x40476000-0x40526000)
              153  0.3399 anon (tgid:2815 range:0x42d93000-0x42e13000)
              113  0.2511 anon (tgid:3087 range:0x40f1b000-0x40f7b000)
               94  0.2089 anon (tgid:2815 range:0x40014000-0x40024000)
               46  0.1022 anon (tgid:3087 range:0x40f1b000-0x40f6b000)
               36  0.0800 anon (tgid:2815 range:0x41f7c000-0x41f8c000)
               21  0.0467 anon (tgid:2815 range:0x40b29000-0x40b39000)
               10  0.0222 anon (tgid:2815 range:0x42d93000-0x42df3000)
                1  0.0022 anon (tgid:3087 range:0x40000000-0x40010000)
    23274 24.2698 vmlinux
    13175 13.7387 libc-2.3.90.so
     1827  1.9052 libglib-2.0.so.0.902.4
     1367  1.4255 libfb.so
     1332  1.3890 nvidia_drv.so
     1180  1.2305 nvidia
     1128  1.1763 libpthread-2.3.90.so
      908  0.9468 ext3
      849  0.8853 libsqlite3.so.0.8.6




More information about the fedora-devel-list mailing list