"java -client -Xshare:dump -XX:PermSize=128m > $log.txt" as part of /var/lib/dpkg/info/openjdk-6-jre-headless.postinst seems to be the problem. Specifically, at least in my case, the problem is tied in with my use of sysctl vm.overcommit_memory=2 to avoid overcommiting memory. Changing back to the default with "sysctl vm.overcommit_memory=0" allows the install to complete with java reporting a peak virtual size of ~1220MB and a peak resident size of ~27MB. This system has 256MB RAM and a 1024MB swap. I'd be curious to know if having over 1220MB RAM would alleviate the problem even with vm.commit_memory=2.
-- Java upgrade from gutsy to hardy is broken: openjdk-6-jre-headless (6b09-0ubuntu2) configuration fails https://bugs.launchpad.net/bugs/219631 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
