Re: Subtle MM bug

From: Andi Kleen (ak@suse.de)
Date: Mon Jan 08 2001 - 00:42:25 EST


On Sun, Jan 07, 2001 at 09:29:29PM -0800, Wayne Whitney wrote:
> The application is some mathematics computations (modular symbols) using a
> package called MAGMA; at times this requires very large matrices. The
> RSS can get up to 870MB; for some reason a MAGMA process under linux
> thinks it has run out of memory at 870MB, regardless of the actual
> memory/swap in the machine. MAGMA is single-threaded.

I think it's caused by the way malloc maps its memory.
Newer glibc should work a bit better by falling back to mmap even for smaller
allocations (older does it only for very big ones)

-Andi

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



This archive was generated by hypermail 2b29 : Mon Jan 15 2001 - 21:00:16 EST