Can some throw bright light on Linux Memory Allocation

Sergey Skorokhodov ucayalyfish at yandex.ru
Fri Aug 8 06:44:53 UTC 2008


Hi,

>         > I have installed Ubuntu on a machine with following
>         > config.
>         >
>         > RAM :  2 GB
>         > Machine:  Intel Core 2 Duo
>         > OS:  Ubuntu 64 bit.
>         > Disk:  250 GB.
>         >
>         >
>         > I have attached a simple program to test memory allocation
>         on linux and something strange is happening.

<skip>

> In the very first mail, I had mentioned that I have installed 64 OS,
> so I dont think that this was the issue. But I received good
> explanation of this behavior in the previous mail.  
> 

Oh, sorry about that, I've missed this point. Anyway, you've got quite
legal 4 GB address space and the system failed to to fill it with
virtual memory later on. Quite logical, eh? Performance etc. OSes are
all like that... ;)

-- 
Regards,
Serge





More information about the ubuntu-users mailing list