These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: High memory usage on IIS7 X64
PostPosted: Sat Jun 14, 2008 7:35 am 
Senior
Senior

Joined: Sat Sep 03, 2005 12:54 am
Posts: 139
Hi,

We are migrating an application from IIS6 X86 to IIS7 X64 and are noticing a huge increase in the memory usage of the worker process.

On the IIS6 box, the mem usage sits between 200MB and 300MB even when we run our load tester against the site. We can see the usage increase but it is very quickly reclaimed again so that it stays within that range.

The same load test run against the IIS7 box sees memory usage spiral very quickly up to over 2GB and it doesn't seem to get reclaimed.

It seems that there is a problem with the garbage collection but I don't know why the same application is operating differently between IIS6 X86 and IIS7 X64.

Anybody experience this same problem or able to shed some light on this?

Thanks,

Jason


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 14, 2008 8:46 am 
Senior
Senior

Joined: Sat Sep 03, 2005 12:54 am
Posts: 139
PS. I have an HTTP handler that closes and disposes the session at the end of every request. Is it correct to dispose the session here? Do I need to close the session factory or do other tasks to correctly free all resources?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 14, 2008 10:15 pm 
Senior
Senior

Joined: Sat Sep 03, 2005 12:54 am
Posts: 139
I set the enable32BitAppOn64 flag to True on the application pool and now the memory usage is exactly the same as I am seeing on the x86 IIS6 box so the problem definitely seems to be related to x64.

Our app never really goes above 400MB usage so this shouldn't cause any problems for us. Still working with someone at MS to figure out why the x64 mem usage is so much higher though.

Jason


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.