| Author | 
		  Message
		 | 
		
		  | dunc | 
		  
		    
			  
				 Posted: Mon Apr 06, 2009 8:01 pm    Post subject: How to increase the maximum memory allocated to a Windows EG | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 25 Sep 2007 Posts: 6
  
  | 
		  
		    
			  
				Hi
 
 
I was wondering how you increase the maximum memory allocated to an execution group under Windows (not Java max mem)? I have read in other posts that the default maximum memory allocated to a EG under windows is 1GB - how do you increase this to the 2GB Windows maximum?
 
 
I have a Message Flow that I have been asked to load test to make sure it scales, but the EG is abending on ESQL nodes when I get over a certain number of records (Failed to allocate memory error) and this always occurs when DataFlowEngine.exe gets up to around 1GB. Java still reports loads of free memory.
 
 
Any help appreciated - Duncan | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Tue Apr 07, 2009 3:25 am    Post subject: Re: How to increase the maximum memory allocated to a Window | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				
   
	| dunc wrote: | 
   
  
	Hi
 
 
I have a Message Flow that I have been asked to load test to make sure it scales, but the EG is abending on ESQL nodes when I get over a certain number of records (Failed to allocate memory error) and this always occurs when DataFlowEngine.exe gets up to around 1GB. Java still reports loads of free memory.
 
 
Any help appreciated - Duncan | 
   
 
 
Missing a propagate somewhere?   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | dunc | 
		  
		    
			  
				 Posted: Tue Apr 07, 2009 12:06 pm    Post subject: Re: How to increase the maximum memory allocated to a Window | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 25 Sep 2007 Posts: 6
  
  | 
		  
		    
			  
				
   
	| fjb_saper wrote: | 
   
  
	
 
Missing a propagate somewhere? | 
   
 
 
 
I wish it was that simple.
 
 
As I was saying this problem occurs under load testing; in normal operation, the message flow completes correctly.
 
 
The execution group always abends when total memory gets close to 1GB, I have also seen it abend in different places. This seems to supports what I have read (on here) that the default max mem for a windows execution group is 1GB. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | WMBDEV1 | 
		  
		    
			  
				 Posted: Tue Apr 07, 2009 1:01 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Sentinel
 
 Joined: 05 Mar 2009 Posts: 888 Location: UK 
  | 
		  
		    
			  
				| How big are the input messages? Do you have additional instances on the flow running? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vandi | 
		  
		    
			  
				 Posted: Tue Apr 07, 2009 6:10 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 13 Dec 2008 Posts: 67
  
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | WMBDEV1 | 
		  
		    
			  
				 Posted: Wed Apr 08, 2009 12:46 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Sentinel
 
 Joined: 05 Mar 2009 Posts: 888 Location: UK 
  | 
		  
		    
			  
				
 
 
This link describes changing the stack size, not the heap. I wouldnt do this and do not believe it will resolve your issue. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |