[Bug 824] New: problems with memory allocation with -Xms option
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Tue Nov 29 13:24:02 PST 2011
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=824
Bug #: 824
Summary: problems with memory allocation with -Xms option
Classification: Unclassified
Product: IcedTea
Version: unspecified
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: IcedTea7
AssignedTo: ahughes at redhat.com
ReportedBy: andrej.gelenberg at udo.edu
CC: unassigned at icedtea.classpath.org
Created attachment 614
--> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=614
stracelog
$ java -Xms1024m
Error occurred during initialization of VM
Could not reserve enough space for object heap
There 8 GB ram and about 10 GB swap, but it steel fail. Oracle JDK has the same
problem.
$ uname -a
Linux ls12nb2 3.1.4+ #43 SMP Tue Nov 29 11:33:43 CET 2011 x86_64 Intel(R)
Core(TM) i7 CPU M 620 @ 2.67GHz GenuineIntel GNU/Linux
System gentoo ~amd64
$ java -version
java version "1.7.0_147-icedtea"
OpenJDK Runtime Environment (IcedTea7 2.0) (Gentoo build
1.7.0_147-icedtea-b147)
OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)
strace log show 2 overlapping mmap calls width MAP_FIXED flag:
...
[pid 29849] mmap(0x7d7200000, 358612992, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|0x40000, -1, 0) = 0x7d7200000
...
[pid 29849] mmap(0x785800000, 717225984, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|0x40000, -1, 0) = -1 ENOMEM (Cannot
allocate memory)
...
stracelog generated with:
$ strace -f java -Xms1024m &>stracelog
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the distro-pkg-dev
mailing list