Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

32 bit JVM memory heap issue on 64 bit XP

 
manoj r patil
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My application runs perfectly alright on 32 bit XP and JVM could allocate 1.4 GB object heap size to this application. But when I run the same application (with 32 bit JVM), it could not initialize JVM. Then I tried reducing max heap size and at 1056MB, it started working!

XP 64-bit machine has 11GB RAM and 2GB virtual memory.

Does anyone any idea as what is the solution to this problem?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15288
39
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you using the 32-bit JVM on 64-bit Windows?
Try using the 64-bit JVM.
 
manoj r patil
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can not use 64 bit JVM and the product is already out in the market and I am shipping 32 bit JRE alongwith installer itself.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic