c# - A worker process serving application pool 'xxx v4.0 (Classic)' has requested a recycle because it reached its private bytes memory limit -


i have shared hosting account 128mb of ram , site in own app pool.

the site small , gets low traffic, keep getting following error:

a worker process serving application pool 'xxx v4.0 (classic)' has requested recycle because reached private bytes memory limit. 

this happening frequently, restarts app pool. if app pool restarts often, stop. i'll 503 error when go site.

the site written using c#, data access ef , ado.net. database connections in using statements , confident being opened , closed correctly.

i have spoken host , can upgrade ram 256mb appear make site run nicely. bit concerned upgrading ram masking problem temporarily.

debug set false in web config , before copy files server building release.

when run solution in visual studio iis worker process hovers around 100 mb.

i think questions are:

is there way can replicate hosting environment on local machine? normal small website exceed 128mb of ram?

i @ bit of loss of try. or guidance appreciated.

other potentially important info:

.net framework 4.5 web forms ajaxcontroltoolkit used (only scripts need loaded)

i've looked @ many blog posts , similar questions can't seem make progress.

thanks

jim

that message hitting configured limit within iis itself, not have amount of ram on host (although settings set within iis should take aggregate ram account, there indirect link).

  • open iis
  • left click on "application pools"
  • find dedicated pool , right click on it, selecting "recycling..."
  • check "private memory usage (in kb):" value
  • that exceeding

[these instructions based on iis 7.5 similar other versions]


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -