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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring 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: 14269
    
  21

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 8 API documentation
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