using more than 4 gig of memory in Java

Sharky Forums


Results 1 to 3 of 3

Thread: using more than 4 gig of memory in Java

Threaded View

  1. #1
    Really Cold Shark eshbach's Avatar
    Join Date
    May 2003
    Location
    San Luis Obispo, CA
    Posts
    5,740

    using more than 4 gig of memory in Java

    I'm writing a data analysis program on a 64-bit SPARC/Solaris system. The program needs to use about 8-12gig of memory at a time. The machine has 32gig in it, so that shouldn't be a problem, but Java won't let me create a VM with a max heap size bigger than 4gig. anyone know how to do this?

    edit: for clarification i am running with the following commands:

    java -d64 -Xmx12G

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •