Date: Thu, 26 Mar 2009 09:58:49 +0000 From: Bruce Cran <bruce@cran.org.uk> To: hackers@freebsd.org Subject: Overflow in vm.vmtotal expected when allocating huge amounts of memory? Message-ID: <20090326095849.1ec57dda@gluon.draftnet>
next in thread | raw e-mail | index | archive | help
Are overflows in the vm counters expected when dealing with huge amounts of memory on 64-bit platforms? I wrote an application which malloc'd 10TB memory and then sat doing nothing; vm.vmtotal showed -2132654356K. Shouldn't unsigned integers be used for any vm stats to avoid overflows? -- Bruce Cran
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090326095849.1ec57dda>