HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: High Memory usage in C++ application rebuild o...
Operating System - HP-UX
        1839913
        Members
    
    
        3649
        Online
    
    
        110157
        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
07-25-2010 02:37 PM
07-25-2010 02:37 PM
			
				
					
						
							High Memory usage in C++ application rebuild on Itanium
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
While migrating a C++ application (using Oracle as DB) from HP-UX PA-RISC to HP-UX Itanium processor we see an enormous increase of physical memory requirement. In our migration we only recompiled and rebuild the same applicaiton. just to give an idea below are the RSS/VSS for the same program on PA-RISC (PA-64) and on IA-64
On PA-64
Text RSS/VSS:256kb/652kb Data RSS/VSS:2.4mb/3.2mb Stack RSS/VSS:112kb/112kb
Shmem RSS/VSS: 18mb/ 18mb Other RSS/VSS:111mb/285mb
On Ia-64
Text RSS/VSS:492kb/592kb Data RSS/VSS:199mb/234mb Stack RSS/VSS:104kb/104kb
Shmem RSS/VSS: 12mb/ 19mb Other RSS/VSS: 87mb/544mb
Can someone help me with what went wrong here and what should be checked.
		
		
	
	
	
While migrating a C++ application (using Oracle as DB) from HP-UX PA-RISC to HP-UX Itanium processor we see an enormous increase of physical memory requirement. In our migration we only recompiled and rebuild the same applicaiton. just to give an idea below are the RSS/VSS for the same program on PA-RISC (PA-64) and on IA-64
On PA-64
Text RSS/VSS:256kb/652kb Data RSS/VSS:2.4mb/3.2mb Stack RSS/VSS:112kb/112kb
Shmem RSS/VSS: 18mb/ 18mb Other RSS/VSS:111mb/285mb
On Ia-64
Text RSS/VSS:492kb/592kb Data RSS/VSS:199mb/234mb Stack RSS/VSS:104kb/104kb
Shmem RSS/VSS: 12mb/ 19mb Other RSS/VSS: 87mb/544mb
Can someone help me with what went wrong here and what should be checked.
- Tags:
- heap usage
- migration
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2010 05:42 AM
07-26-2010 05:42 AM
			
				
					
						
							Re: High Memory usage in C++ application rebuild on Itanium
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						You will need to use size(1) on every load module to see if this is due to the initial allocation.
Also, how much heap space are you using for the two architectures?
It seems the Data VSS has an awfully big increase.
		
		
	
	
	
Also, how much heap space are you using for the two architectures?
It seems the Data VSS has an awfully big increase.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2010 01:23 PM
07-31-2010 01:23 PM
			
				
					
						
							Re: High Memory usage in C++ application rebuild on Itanium
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						doing size of the load modules does not give much insight. It is pretty much the same in PA-RISC. can you give me an elaboate description of what exactly to look for. 
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2010 01:02 AM
08-01-2010 01:02 AM
			
				
					
						
							Re: High Memory usage in C++ application rebuild on Itanium
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						>doing size of the load modules does not give much insight.  It is pretty much the same in PA-RISC. 
Then the majority of your memory use is dynamic, through the heap or possibly shared memory.
>can you give me an elaborate description of what exactly to look for.
You need to profile the amount of heap usage. gdb has heap checking and profiling reports.
		
		
	
	
	
Then the majority of your memory use is dynamic, through the heap or possibly shared memory.
>can you give me an elaborate description of what exactly to look for.
You need to profile the amount of heap usage. gdb has heap checking and profiling reports.
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
