8 Mar
2005
8 Mar
'05
6:24 p.m.
On Tue, 8 Mar 2005 13:16:32 -0500, mental@...3... <mental@...3...> wrote:
Why is memory usage increased, compared to loading a lib?
It doesn't increase the memory usage so much as reduce the number of pages that can be shared between processes.
With static linking, every executable has its own copy of the library in memory as it runs (though multiple instances of the same executable share among themselves).
So, this argument is only applicable to libraries used by many different software. I guess this is not the case with libcroco, otherwise it would be widely available on distributions and we would not need to carry it. So, this seems to be another argument in favor of including it (at least until it becomes common enough).