On 04/03/2011 10:36 AM, peterlipp wrote:
>
>> looking at memory ‘reserved’ rather than actually in use…
>partially this is certainly true, still wondering why Libre wants to
> reserve that much in the first place.
you know, i guess *, that Linux uses
memory differently from MS and some other systems …that is, MS
typically dumps stuff out of memory as soon as possible…whereas,
basic Linux idea is that unused memory is wasted memory…and
anything in memory now may be called for use again, even if the app
which was using it is closed (the user may fire it up again)…so it
is typical in Linux to see RAM full or near full all the time…and,
it will stay that way, and dump out the oldest stuff as soon as
something new is opened which needs space…
i do not know how it does it, but sometimes when making room for new
stuff it will put some into swap, sometimes not (i guess if it is old
enough it just dumped…if actively in use but not in the last
seconds, it goes to swap…
as for reserved space: if nothing is going on in another app and some
large portion of RAM is not in use, why not mark it all reserved for
the app just opened? it can always be _un_reserved when something else
needs it… right?
>
> I realized that opening an .xls-doc uses way more than an ods-one. So
> its the Microsoft-effect apparently built into Libre: if you open a
> MS-Document, you get the memory wasted on a windows machine 
well, yes and no:
no because the size of the document you open is (say) .5 GB then for
you to use it the document has to be in memory (actual or
swap)…and that holds true if it is a .doc or .odt (or Mac/Atari
whatever)
yes, in that MS-docs are far larger than universe, overall 
and, it is wrong to consider the memory “wasted” in either MS or
other, because it is being used…
> Still, I feel that all programs seem to use too much.
when you say “seem to” i don’t have any idea how you are measuring…
for an app to operate it must be resident in memory…and, the amount
used will be equal to the size of the executable + its libs + its
document (if, for example, using LibreOffice) and probably stuff i
don’t know about…but it is those things that determine the need,
and it is fixed…
the deal with MS is just about everything they produces is larger
(FAR larger) than here…now, i’ve not measure the bytes needed just
to install LibreOffice on any systems, but i’d bet a good cup of
espresso that the MS install is not the smallest…
> Beside the
> virtual box using 1GB I have just firefox and thunderbird and one
> terminal actively started (plus Gnome and whatever runs anyway) and have
> about 3.6 GB used.
but it is still running alright, huh?
remember, unused memory is wasted…which means that there is stuff
in memory not being used, and will be dumped before it starts
impacting whats going on…
make sense? if not, there are thousands of other explanations of the
difference between Linux memory usage and what you may be more
familiar with… [and, you are not the first here wondering why your
RAM is full: http://tinyurl.com/3q9mgj3]
–
CAVEAT: http://is.gd/bpoMD
Tried LibreOffice? Do that and help at http://is.gd/dZ9j2W
[NNTP via openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8]
*