Bug#576453: Cannot install ca-certificates-java

2014-03-24 Thread Emmanuel Bourg
Under OpenVZ the max heap size is considered to be used immediately by
the java process. If -Xmx is not specified the default size may be 1 GB
or higher, and this often causes java processes to fail under OpenVZ if
the memory isn't available.

ca-certificates-java doesn't need that much memory to work properly,
limiting the heap to 64M should be enough.

Emmanuel Bourg

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#576453: Cannot install ca-certificates-java

2012-05-21 Thread Martin Gwerder
I had the same problem too with a cheap 1&1 virtual server. The main
problem was that the box was incredibly low on free memory.

As a workaround the memory consumption of the JRE can be lowered for the
executing console. This can be done by using the following command.

export _JAVA_OPTIONS="-Xms16m -Xmx128m"

Not really a nice workaround but it got me running again

Regards
Martin




__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.