*
The moose likes Performance and the fly likes Heap dumps on 32bit and 64 bit JVM 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 » Performance
Bookmark "Heap dumps on 32bit and 64 bit JVM" Watch "Heap dumps on 32bit and 64 bit JVM" New topic
Author

Heap dumps on 32bit and 64 bit JVM

anush thodla
Greenhorn

Joined: Jan 09, 2008
Posts: 1
We are experiencing memory leak issues with one of our application deployed on JBOSS (SUN JVM 1.5, Win 32 OS). The application is already memory intensive and consumes the maximum heap (1.5 GB) allowed on a 32-bit JVM on Win32.
This leaves very few memory for heap dump and the JVM crashes whenever we try adding the heap dump flag (-agentlib , with a "malloc error"..

Has anyone faced a scenario like this?

Alternatively for investigation purpose, we are trying to deploy it on a Windows X64 - but the vendor advises only to run on 32 bit JVM. Here is my question:
1) Can we run 32bit JVM on Windows 64? Even if we run, can i allocate more than 2 GB for heap memory?
2) I dont see the rational why we cannot run on 64bit JVM - because, JAVA programs are supposed to be 'platform-independent' and the application in form of byte code should be running no matter if it is a 32bit or 64-bit JVM?
3) Do we have any other better tools (except HPROF heapdumps) to analyze memory leaks - we tried using profiling tools but they too fail becos of very few memory available.

Any help is really appreciated! :-)

Anush
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Heap dumps on 32bit and 64 bit JVM
 
Similar Threads
Mamimum Value which can be allowed in -XMX Parameter
64-bit and 32-bit
Any concerns for large heap size? (e.g. 2GB)
32 bit JVM memory heap issue on 64 bit XP
About BingMemory from Terracotta