[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 512MB RAM, 860MB swap and out of memory ?


Hi Krupa!

On Thu, 3 Dec 1998, Jan Krupa wrote:

> My Debian Linux 2.0 cannot use more than 460MB sawp :(

that's very extrange :-(

> Here are some additional information
> $ free
>              total       used       free     shared    buffers     cached
> Mem:        515772      57200     458572      32108       2444      32272
> -/+ buffers/cache:      22484     493288
> Swap:       860052       1300     858752

So it seems that system should handle all swap, I think you can issolate
the problem (it is in the kernel or in the app?)

write an small c program, that mallocs 1.3Gb of RAM then _you must use it_
if you want really use/reserve this memory. eg:

This is pseudo code 

for(cont= 0; cont < 1.3Gb; cont++)
	memory(cont)= 1; // You assing some value to all memory 
                         // wich is malloc'ed

If you do not know C, tell me and I'll write this for you

> I have tried to use kernel 2.1.126 but although I could  compile
> it I cannot get it working. I mean: Lilo cannot start,
> appears: LIL- and I have to reset and use rescue disk.

This has a meaning, check it out at /usr/doc/lilo/Manual.txt.gz

I hope this helps,

- -----------------------------------------------------------------------------
"Computers are useless. They can only give answers."            Pablo Picasso

Version: 2.6.3a
Charset: latin1
Comment: PGP public key avaliable at http://www.rediris.es/cert/keyserver


Reply to: