HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Collecting java heap dump (HPROF file) from system...
Operating System - HP-UX
        1839830
        Members
    
    
        2170
        Online
    
    
        110156
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2011 11:07 PM
01-14-2011 11:07 PM
			
				
					
						
							Collecting java heap dump (HPROF file) from system core
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
I would like to know if we can collect heap dump from system core of a crashed java process.
JVM: 1.6.*
HP-UX: 11.23/31 ia64
Sun JDK has a 'jmap' utility which provides similar facility. I found from the below link one can do most operations like collecting the java stack frame using wdb, but couldn't find how to collect a HPROF file.
http://docs.hp.com/en/5992-4687/ch01s05.html
Though wdb has commands to inspect the heap objects, its not as sophisticated as Eclipse MAT which I feel as a preferred tool for analyzing java heap. Also, we have some custom analysis plugins for MAT which we will not be able to use for processes using HP-UX java.
Is there some mechanism to collect the heap dump from a system core file?
Thank you,
Krishna
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
I would like to know if we can collect heap dump from system core of a crashed java process.
JVM: 1.6.*
HP-UX: 11.23/31 ia64
Sun JDK has a 'jmap' utility which provides similar facility. I found from the below link one can do most operations like collecting the java stack frame using wdb, but couldn't find how to collect a HPROF file.
http://docs.hp.com/en/5992-4687/ch01s05.html
Though wdb has commands to inspect the heap objects, its not as sophisticated as Eclipse MAT which I feel as a preferred tool for analyzing java heap. Also, we have some custom analysis plugins for MAT which we will not be able to use for processes using HP-UX java.
Is there some mechanism to collect the heap dump from a system core file?
Thank you,
Krishna
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2011 12:27 AM
01-15-2011 12:27 AM
			
				
					
						
							Re: Collecting java heap dump (HPROF file) from system core
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Have you contacted the Response Center to analyze your core files?
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2011 05:59 AM
01-15-2011 05:59 AM
			
				
					
						
							Re: Collecting java heap dump (HPROF file) from system core
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi Dennis,
We have a multi-threaded java application with native code too, using JNI.
Mostly application crashes due to bugs in native code. From analyzing stack backtrace, we can tell that its an application bug.
But we can get more state information of the process during the time of crash, if we can inspect the Heap dump.
Eclipse Memory Analyzer tool supports HPROF and IBM DTFJ, and we can obtain heap dumps from all other platforms, but didn't find a way for HPUX. Any suggestions would help.
~ Krishna
		
		
	
	
	
We have a multi-threaded java application with native code too, using JNI.
Mostly application crashes due to bugs in native code. From analyzing stack backtrace, we can tell that its an application bug.
But we can get more state information of the process during the time of crash, if we can inspect the Heap dump.
Eclipse Memory Analyzer tool supports HPROF and IBM DTFJ, and we can obtain heap dumps from all other platforms, but didn't find a way for HPUX. Any suggestions would help.
~ Krishna
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP
