Saturday, 15 March 2014

c# - Running out of memory on vps -



c# - Running out of memory on vps -

feel in on head on one.

i have vps running iis7.5 , running several low traffic web sites. 1 plain html, couple in vb.net , 2 new ones in c#. problem have run out of memory several times , variable can point %committed bytes in utilize goes 98% , shuts iis down. seems have started new c# sites. have used perfmon , can see %committed bytes (%cb) increase. have had vps restarted twice , %cb goes downwards 60% range. if restart iis or recycle app pools dowm 78% range.

so guess 1st question is: should %cb remain constant or vary , normal value this?

2nd question: if %cb = x/committed bytes, x. thinking if know x , can see process causing x increment maybe can prepare whatever problem is. i've looked @ private bytes , heap sizes don't seem x i'm looking for...

or looking in wrong places?

thanks

looks may have solved it. using couple of little datatables wasn't disposing them correctly. enclosed them in usings , problem seems have gone. can see can cause problem have surprised lethal was.

c# html vb.net memory-leaks iis-7.5

No comments:

Post a Comment