Subject: memory allocation beyond 1GB datasize in linux emulation?
To: NetBSD-help <NetBSD-help@NetBSD.org>
From: Marko =?ISO-8859-1?Q?Sch=FCtz?= <schutz_m@usp.ac.fj>
List: netbsd-help
Date: 05/25/2006 09:58:33
--pgp-sign-Multipart_Thu_May_25_09:58:33_2006-1
Content-Type: text/plain; charset=US-ASCII
I want to allow the datasize of a linux binary to grow up to 1800MB.
As root I set the hard limit on datasize to 2048m, but when I then su
to my user account and check the hard limit I find it's only 1024m. I
tried defining a login class that has a datasize of 2048m and use
'su -c ...', but it didn't do it.
I ended up running the binary as root. Watching 'top' I saw it grow to
a size of ~1047M and then it reported that memory allocation failed.
I'd be thankful for any hints on this...
Marko
--pgp-sign-Multipart_Thu_May_25_09:58:33_2006-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
iD8DBQBEdNcJD04PgKGR9CoRAoOCAJ9EeWhY7Rd8ykRFzqoHlkV9PEFEqACeM7gX
7LVMmSC3T+ktzMyilse7vwg=
=7ckc
-----END PGP SIGNATURE-----
--pgp-sign-Multipart_Thu_May_25_09:58:33_2006-1--