lkml.org 
[lkml]   [2003]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectshared objects, ELFs and memory usage
Hi all,
If this is not the mailing list to ask this question - please let me know
where should I ask it.

I have an executable whose size is almost 2MB, and it uses a shared object
that is almost 2MB.
when I run the process, I see (using "top") that the amount of "used memory"
raises with 4MB. (make sence...). the process seem to share 2MB ("shared"
column).

When the process forks, it seems that the amount of "used memory" raises
with 4MB again.

Does it mean the shared object is not really shared ? That doesn't make
sence...

Help is appreciated.
Please CC me because I am not subscribed.

Thanks,
Nir

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.036 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site