Re: Maximum heap size?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 5 Dec 2001 11:26:56 +0000 (GMT)


> I have been STFW'ing for a few hours now and I keep finding conflicting
> reports on what the maximum heap size is with Linux 2.4. Some places say it
> is 1GB, and others say it is unlimited.

You have 3Gb of virtual space for an application on x86. This is basically
hardware limitations of the processor (1Gb is used for kernel mappings and
having kernel and user mappings overlapping costs every syscall)

If you are hitting a 1GB limit I would assume the jvm isn't very bright
about its allocation of resources. You should run out at something like
2.5Gb of allocations. (you lose some to app and library maps)

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