Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JVM Maximum Heap Size

 
Jeff Storey
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an application and it supports multiple users and is rather memory intensive, so I want to be able to use all of the memory I have in my machine. I currently have over 2GB and have now found that the JVM does not let you use more than about 1.8GB. Is there any way around this limitation or do I need to start exploring the options of launching multiple JVMs and doing some load balancing.

Thanks,
Jeff
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the 64 bit versions of the JVMs support bigger heaps.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15214
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What operating system are you using? 32-bit Windows? To use the 64-bit version of Java you must ofcourse have a 64-bit OS installed.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic