Re: Overcommitable memory??

From: David Whysong (dwhysong@physics.ucsb.edu)
Date: Sat Mar 18 2000 - 18:38:43 EST


On 18 Mar 2000, Aaron Denney wrote:

>On the linux-kernel mailing list, dwhysong@physics.ucsb.edu wrote:
> total used free shared buffers cached
> Mem: 257788 98764 159024 19400 37708 32264
> -/+ buffers/cache: 28792 228996
> Swap: 642016 2200 639816

>> So malloc() returns success when I ask for an 800 megabyte array on a
>> machine with only ~640 megabytes of free virtual memory.
>
>639816 + 228996 = 868812 = 848 Mb

Yeah, I was adding 159024 instead, which is obviously wrong.

Dave

David Whysong dwhysong@physics.ucsb.edu
Astrophysics graduate student University of California, Santa Barbara
My public PGP keys are on my web page - http://www.physics.ucsb.edu/~dwhysong
DSS PGP Key 0x903F5BD6 : FE78 91FE 4508 106F 7C88 1706 B792 6995 903F 5BD6
D-H PGP key 0x5DAB0F91 : BC33 0F36 FCCD E72C 441F 663A 72ED 7FB7 5DAB 0F91

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



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:25 EST