aspose file tools
The moose likes Java in General and the fly likes 32 bit JVM memory heap issue on 64 bit XP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "32 bit JVM memory heap issue on 64 bit XP" Watch "32 bit JVM memory heap issue on 64 bit XP" New topic
Author

32 bit JVM memory heap issue on 64 bit XP

manoj r patil
Ranch Hand

Joined: Jun 06, 2002
Posts: 180
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
Bartender

Joined: Aug 16, 2005
Posts: 12953
    
    3

Why are you using the 32-bit JVM on 64-bit Windows?
Try using the 64-bit JVM.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
manoj r patil
Ranch Hand

Joined: Jun 06, 2002
Posts: 180
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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: 32 bit JVM memory heap issue on 64 bit XP
 
Similar Threads
Building appication on 64 bit O.S..Performance issue
Any concerns for large heap size? (e.g. 2GB)
Maximun Heap Size in WAS 7.0
Out Of Memory Error?
Mamimum Value which can be allowed in -XMX Parameter