Your message dated Sat, 23 Mar 2019 16:08:07 +0100
with message-id <[email protected]>
and subject line closing remaining openjdk-6 bugs
has caused the Debian Bug report #652295,
regarding openjdk-6: JRE defaults heap to 1/4 total ram, so can fail with a 
ulimit in force
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
652295: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652295
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openjdk-6
Severity: normal


Java uses 1/4 ( MaxRAMFraction [1]) of the _physical_ memory as heap 
(Arguments::set_heap_size() [2]). If there is any limit pushing java 
below this, for example a ulimit, it will fail. The failure could also 
be cause in a virtualised situation for example using OpenVZ where the 
kernel will report the total memory, but the partition has a limit of 
less than 1/4 of that.

The only reasonable workaround is to pass the "-Xmx" option whenever 
you run Java, but this isn't set when installing the 
openjdk-6-jre-headless package, so even setting that package up can 
fail with:

  Could not create the Java virtual machine.
  Error occurred during initialization of VM
  Could not reserve enough space for object heap

I'm not sure of the best course of action to solve this - it seems like 
the nicest thing would be to look at the limit using the ulimit 
interface and reduce the default to a bit less than that (to allow for 
things other than the heap itself).

[1] 
http://hg.openjdk.java.net/jdk6/jdk6/hotspot/file/8389681cd7b1/src/share/vm/runtime/globals.hpp
[2] 
http://hg.openjdk.java.net/jdk6/jdk6/hotspot/file/8389681cd7b1/src/share/vm/runtime/arguments.cpp



--- End Message ---
--- Begin Message ---
Version: 6b41-1.13.13-1+rm

Hi,

openjdk-6 was last released with Debian 7.0 (wheezy), which had its LTS
support end nearly a year ago and which has now been archived.
I'm therefore closing the remaining openjdk-6 bugs, assuming they are no
longer relevant for newer (and still supported) openjdk releases.

Andreas

--- End Message ---

Reply via email to