[Bug 247997] databases/cassandra3: fix build on aarch64 (Java OutOfMemory during build)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jul 17 10:03:00 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247997
Ronald Klop <ronald-lists at klop.ws> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #216466|0 |1
is obsolete| |
--- Comment #4 from Ronald Klop <ronald-lists at klop.ws> ---
Created attachment 216511
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216511&action=edit
set max mem to 512 MB (svn diff)
Used the ANT_OPTS="$ANT_OPTS ..." construction.
Did some more testing with "java -XX:+PrintFlagsFinal -version | grep MaxHeap".
On my RPI3 with 1 GB RAM Java uses a default mx of 256MB which is too small.
On my amd64 VM with 5 GB RAM Java uses an mx of 1270MB which is plenty.
Both compile perfectly with -Xmx512m.
jstat -gc shows the RPI3 does quite some GC and reaches 512MB quite often. The
amd64 never hits the max mem with 512 MB avail.
This is all on openjdk8.
RPI3: OpenJDK 64-Bit Zero VM (build 25.242-b07, interpreted mode)
AMD64: OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
So I think this is ready to be committed.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list