This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
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: 181
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

Joined: Aug 16, 2005
Posts: 14074
    
  16

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: 181
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://aspose.com/file-tools
 
subject: 32 bit JVM memory heap issue on 64 bit XP
 
Similar Threads
Maximun Heap Size in WAS 7.0
Mamimum Value which can be allowed in -XMX Parameter
Any concerns for large heap size? (e.g. 2GB)
Out Of Memory Error?
Building appication on 64 bit O.S..Performance issue