[OSM-dev] mmap() (was: Re: Some statistics for file-format -development)
Sascha Silbe
sascha-ml-gis-osm-dev at silbe.org
Tue Nov 25 13:49:53 GMT 2008
On Tue, Nov 25, 2008 at 08:47:16AM +0100, Marcus Wolschon wrote:
> Okay, on a big AMD-multicore-laptop the limit in Java seems to be
> 1GB of memory-mapped files.
That's pretty small given that kernel/user split is usually 2G/2G or
even 3G/1G...
> Ulimit was "unlimited" and --XX:MaxDirectMemorySize was set to 32GB
> -Xmx was a few GB. I am using the current Java6 -patchlevel 10 from
> Sun.
Have you tried using a smaller -Xmx size? I have the impression that
Java allocates the maximum allowed size directly on startup, relying on
the OS to do lazy allocation of pages. If that's the case, reducing -Xmx
should increase free virtual address space, allowing bigger memory
mappings.
> I'd like to try this on a 64bit-Linux on that box but don't know how
> to
> do that yet. Any help on turning a debian 32bit into a 64-bit or
> running
> a 64bit-VM in a 32bit-Linux?
I don't think that's possible. Both 32bit and 64bit userspace and
emulation work with a 64bit kernel, but at least 64bit userspace on a
32bit kernel isn't possible.
CU Sascha
--
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 481 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20081125/1ac3056c/attachment.pgp>
More information about the dev
mailing list