Date: Sun, 07 May 2017 10:48:04 +0000 From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 215286] [java/openjdk8] Java crashes/exits on i386 as soon as kernel options KVA_PAGES = 512 and KSTACK_PAGES = 4 set for ZFS Message-ID: <bug-215286-8522-AqKV5qkYyU@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-215286-8522@https.bugs.freebsd.org/bugzilla/> References: <bug-215286-8522@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215286 Konstantin Belousov <kib@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #3 from Konstantin Belousov <kib@FreeBSD.org> --- The message from the JVM allocator is clear enough, isn't it ? KVA_PAGES=3D512 option re-partitions the kernel/user virtual address space = split into 2G/2G, while the default partition is 3G/1G. Among the 2G space, at l= east 512M is reserved for the binary and sbrk, rest is fragmented by the loaded libraries and other mappings. This probably lefts around 700-800M, in the best case, for the Java heap.=20 Since JDK 7 and 8 have different GCs, it is not surprising that things star= t to break. I suspect that you use copying GC with JVM 8, which requires approximately twice as many address space as compacting collector, and 800Mb only allows for 400Mb max heap size. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215286-8522-AqKV5qkYyU>