java not starting without explicit maximum memory flag

Mikhail T. mi+thun at aldan.algebra.com
Fri Dec 13 21:03:39 UTC 2013


On 13.12.2013 15:53, Jung-uk Kim wrote:
> Hmm...  Looks fine.  Have you tried java/openjdk6?
Can't build it -- neither java nor jar would start :-(

On 13.12.2013 15:59, Dmitry Samersoff wrote:
> java -XX:+PrintGCDetails -version
>
Well, had to insert the -mx2m into that command line, but here is the output:

    % java -mx2m -XX:+PrintGCDetails -version
    openjdk version "1.7.0_25"
    OpenJDK Runtime Environment (build 1.7.0_25-b15)
    OpenJDK Server VM (build 23.21-b01, mixed mode)
    Heap
     PSYoungGen      total 1792K, used 295K [0x90490000, 0x90690000, 0x90690000)
      eden space 1536K, 19% used [0x90490000,0x904d9d58,0x90610000)
      from space 256K, 0% used [0x90650000,0x90650000,0x90690000)
      to   space 256K, 0% used [0x90610000,0x90610000,0x90650000)
     ParOldGen       total 1024K, used 0K [0x90090000, 0x90190000, 0x90490000)
      object space 1024K, 0% used [0x90090000,0x90090000,0x90190000)
     PSPermGen       total 16384K, used 1436K [0x8c090000, 0x8d090000, 0x90090000)
      object space 16384K, 8% used [0x8c090000,0x8c1f73f8,0x8d090000)

Thanks! Yours,

    -mi



More information about the freebsd-java mailing list