Re: Heap size limit in java

From: Charles Swiger (cswiger_at_mac.com)
Date: 06/18/04

  • Next message: Doug White: "Re: strange message appearing in a fresh current"
    Date: Fri, 18 Jun 2004 12:54:33 -0400
    To: Paul Dlug <paul@aps.org>
    
    

    On Jun 18, 2004, at 12:05 PM, Paul Dlug wrote:
    [ ...not being able to mmap() more than 2 GB of memory... ]
    > Any help would be greatly appreciated. I imagine others have hit this
    > issue or will shortly. It's somewhat critical to getting large scale
    > java applications running on FreeBSD that the JVM be able to access
    > enough memory.

    One approach would be to split up the workload into two (or more)
    JVM's, each of which using less than the current 2GB limit.

    If that approach is not workable for your problem domain, then please
    consider the fact that no matter what changes are made, a 32-bit
    platform is never going to be able to give your JVM more than 4 GB. If
    you really have a need to exceed 2GB JVM heap size, you should
    seriously consider switching to a 64-bit platform. I don't know
    whether Java+FreeBSD+AMD64 is stable enough for production, so Sun
    SPARC or even a PowerPC-based Mac might be a better choice.

    -- 
    -Chuck
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Doug White: "Re: strange message appearing in a fresh current"

    Relevant Pages

    • Re: ADTPro beta available
      ... yes :-) The definition of platform can be pretty much widened to ... Otoh Java is not a scripting language. ... systems and user interfaces myself (two things a JVM does not provide). ...
      (comp.sys.apple2)
    • Re: ADTPro beta available
      ... This is the whole point of Java - a cross platform API + a virtual ... But this method is not limited to the JVM. ... runs under MS-DOS. ...
      (comp.sys.apple2)
    • Re: ADTPro beta available
      ... Perl, Python, Ruby, or Javascript are platforms. ... platform, many would consider a web browser to be a platform. ... the same way as a Java program is. ... platform (runs only on the JVM), while the JVM itself is cross- ...
      (comp.sys.apple2)
    • Re: ADTPro beta available
      ... platform, many would consider a web browser to be a platform. ... systems and user interfaces myself (two things a JVM does not provide). ... But the same platform (Java, Windows, MS-DOS, or whatever) ... Each copy of Windows for instance (starting with Windows 3.x and including ...
      (comp.sys.apple2)
    • Dusting off an old JVM discussion
      ... I was wondering how difficult it would be to write a JVM in Forth, ... Upon looking at those "opcode" instructions, ... I imagine applications that run on Servers, Desktops and handhelds, ...
      (comp.lang.forth)