HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Java Memory Management on HP-UX
Operating System - HP-UX
        1839881
        Members
    
    
        3404
        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
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		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
09-19-2007 06:27 AM
09-19-2007 06:27 AM
			
				
					
					
						Hi,
I'm trying to Expanding heap size in native applications on HP-UX 11.11 PA-RISC, and find some information about the java memory management.
The application runs on a webserver with BEA Weblogic 8.1 SP6 using java 1.4.2.10. My intention is define 3Gb of memory for one domain. And some documents mention the use of java_q4p.
Somebody have experience in this topic ?.
Thank's in advance.
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
I'm trying to Expanding heap size in native applications on HP-UX 11.11 PA-RISC, and find some information about the java memory management.
The application runs on a webserver with BEA Weblogic 8.1 SP6 using java 1.4.2.10. My intention is define 3Gb of memory for one domain. And some documents mention the use of java_q4p.
Somebody have experience in this topic ?.
Thank's in advance.
	"Enjoy the life .."
			
			
				Solved! Go to Solution.
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2007 10:01 AM
09-19-2007 10:01 AM
Solution
			
				
					
					
						I think you're in luck.  Sorta. Pretty much anyways.
I went to the bin directory for that version of java, and ran the following:
$ ./java -Xmx3068M -version
and it started the java engine up and gave me the version information with java 1.4.2.12 on HPUX 11.11.
However, it would not start a 3069M engine up.
BUT!
If you start the engine up at 3068, it leaves no overhead for the java engines' own system level functions to run. In my experience, this will make the engines fail before too long runing your own jobs/programs/etc. So I would start it up with about 100M less than that or so; your mileage may vary.
Try it with an even 3000M and see if your program(s) run(s) reliably, if so you're all set. If you start having unexaplainable problems, you may need to bring it down as far down as 2900M or so. How much you need to back off of the max number(3068M) depends on what and how much you're doing with the java engine of course.
		
		
	
	
	
I went to the bin directory for that version of java, and ran the following:
$ ./java -Xmx3068M -version
and it started the java engine up and gave me the version information with java 1.4.2.12 on HPUX 11.11.
However, it would not start a 3069M engine up.
BUT!
If you start the engine up at 3068, it leaves no overhead for the java engines' own system level functions to run. In my experience, this will make the engines fail before too long runing your own jobs/programs/etc. So I would start it up with about 100M less than that or so; your mileage may vary.
Try it with an even 3000M and see if your program(s) run(s) reliably, if so you're all set. If you start having unexaplainable problems, you may need to bring it down as far down as 2900M or so. How much you need to back off of the max number(3068M) depends on what and how much you're doing with the java engine of course.
	We are the people our parents warned us about --Jimmy Buffett
			
			
				
			
			
			
			
			
			
		- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2007 03:30 PM
09-19-2007 03:30 PM
			
				
					
						
							Re: Java Memory Management on HP-UX
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Ivan,
You can refer this :-
http://www.hp.com/products1/unix/java/infolibrary/Memory-Management.pdf
I would recommend
Java heap - -Xms500m â Xmx1500m for a start and monitor.
Please ask refer to BEA site for requirement
http://e-docs.bea.com/wls/docs81/perform/index.html
Identify the Best JVM Settings
----------------------------------
http://e-docs.bea.com/wls/docs81/perform/topten.html#1120353
WK
please assign points
		
		
	
	
	
You can refer this :-
http://www.hp.com/products1/unix/java/infolibrary/Memory-Management.pdf
I would recommend
Java heap - -Xms500m â Xmx1500m for a start and monitor.
Please ask refer to BEA site for requirement
http://e-docs.bea.com/wls/docs81/perform/index.html
Identify the Best JVM Settings
----------------------------------
http://e-docs.bea.com/wls/docs81/perform/topten.html#1120353
WK
please assign points
	Problem never ends, you must know how to fix it
			
			
				
			
			
			
			
			
			
		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
