Solved

How to release Memory when w3wp process taking lots of memory

Posted on 2009-07-14
14
1,484 Views
Last Modified: 2012-05-07
I have a server configuration intel xeon 2.4 quad core , 32 GB ram,

and on the server CRM application is running on that server,
my problem is that ,

W3wp process taking lots of memory utilized . it starts 3 GB to 31 GB,

Kindly help me out .
Process-crm-prod.xls
0
Comment
Question by:vicky1982
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 5
14 Comments
 
LVL 15

Expert Comment

by:sharepointguru14
ID: 24850011
1 use a garden for worker processes. Here is a link to configure that http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/659f2e2c-a58b-4770-833b-df96cabe569e.mspx?mfr=true

Second sounds like your application has a memory leak. This is something that you will have to debug within the application code. As a temporary fix to stop it from crashing the system you can recycle your worker processes every so often or when it consumes a certain amount of memory. In the mean time Use DebugDiag to get more detailed information on what is causing the problem to hand off to your development team or vendor of the application
http://support.microsoft.com/kb/919791/
0
 
LVL 15

Expert Comment

by:sharepointguru14
ID: 24850025
Just saw your attachment. Looks like you are already running debugdiag. Have you caught a crash yet? If so post that log
0
 

Author Comment

by:vicky1982
ID: 24856803
no, nothing found,

i did webgarden process 1 to 16 but can't find any output of memory leakeage
0
Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

 
LVL 15

Expert Comment

by:sharepointguru14
ID: 24859039
there is no reason for a worker process to be consuming 30GB of RAM. Your app has a memory leak for sure. Catch the next time it crashes and post the debugdiag log for us to review
0
 

Author Comment

by:vicky1982
ID: 24862000
I have test and observe that w3wp.exe process are 20 instances running and each instances taking memory 500 mb and its continously increasing not realease the memory.

My application is running CRM and database is SQL ,

SQl taking only 500 MB memory,

any suugestion
0
 
LVL 15

Expert Comment

by:sharepointguru14
ID: 24862479
limit the number of instances of the worker process just at 500mb that is 10GB being consumed. And then send us the logs from debugdiag for review. I need to see whats happening in order to tell you how to fix it. I can't just imagine what the problem is and give you a fix
0
 

Author Comment

by:vicky1982
ID: 24896882
I have tried to first IIS admin server Stop then its realease onle 6 GB Memory out of 32 GB, after that I down the Sql Database after down the database memory came to 2 GB Used and 30 Gb free,

what this its mean is there any issue with database or problem with my CRM Application.
0
 
LVL 15

Expert Comment

by:sharepointguru14
ID: 24897053
before turning off SQL how much memory was being consumed? Can you take a screenshot of the processes running when you have 30+GB of memory being used? If its SQL consuming all the RAM then you need to do some performance tuning on SQL. Here is a link that gives basic background from microsoft on that.http://support.microsoft.com/kb/321363
0
 

Author Comment

by:vicky1982
ID: 24902708
before Turning off the Sql it take is taking 26 gb out of 32 GB after turning off the sql server service it come to 2GB.

performance-rep.JPG
0
 

Author Comment

by:vicky1982
ID: 24902713
there is one more screenshot of Process
0
 

Author Comment

by:vicky1982
ID: 24902722
process screenshot
process.JPG
0
 

Accepted Solution

by:
vicky1982 earned 0 total points
ID: 25256817
I have resolved the High Memory Utilization Issue ,

Actually in Server there is Sql Server database is running, in database there is Two Instances Created, both Instances have max memory set Unlimited, after setting the Max memory to 5 GB each instances , its cames to its normal postion, now its taking only 7 to 8 GB memory .
0
 

Author Comment

by:vicky1982
ID: 25256828
No There is no objection
0
 

Author Comment

by:vicky1982
ID: 25256832
for resolving this I have done Windows Latest Security Patch , OS kernel, Crm Application UR 5 (Update rollup)

Lastly i Did max memory set in Sql.
0

Featured Post

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question