T
Tomislav Fistric
Hi all.
I have very uncommon problem. I am running
IIS 6.0 on 2xXEON dual core 3.06 (8 virtual CPUs) with
4 gb of Ecc ram and i get system.outofmemory exception
on asp.net website. Thing is that i have big load on
site (site is a crawler that visits 500k pages daily).
I have optimized the code to take 5-10% of CPU usage
max but there is a problem with regex and memory.
Sometimes regex eats 600mb of memory and then iis
web worker crashes and starts spitting that error
(despite it has at least 1.4 gb more memory free???).
Is there any way to limit regex class memory usage?
I have made workaround in a way to use 5 web workers
instead of one (web garden) it works so far but
consumes too much of cpu (10-15%), while it is still
low i am expecting to raise daily visit by 4 times
so it will be alot then. Any suggestions?
Error i get in event log:
EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.1830, P3 42435be1, P4
mscorlib, P5 2.0.0.0, P6 4333ab80, P7 116e, P8 29, P9
system.outofmemoryexception, P10 NIL.
BTW i have ms windows server ee 2003 and /3gb switch on.
I have very uncommon problem. I am running
IIS 6.0 on 2xXEON dual core 3.06 (8 virtual CPUs) with
4 gb of Ecc ram and i get system.outofmemory exception
on asp.net website. Thing is that i have big load on
site (site is a crawler that visits 500k pages daily).
I have optimized the code to take 5-10% of CPU usage
max but there is a problem with regex and memory.
Sometimes regex eats 600mb of memory and then iis
web worker crashes and starts spitting that error
(despite it has at least 1.4 gb more memory free???).
Is there any way to limit regex class memory usage?
I have made workaround in a way to use 5 web workers
instead of one (web garden) it works so far but
consumes too much of cpu (10-15%), while it is still
low i am expecting to raise daily visit by 4 times
so it will be alot then. Any suggestions?
Error i get in event log:
EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.1830, P3 42435be1, P4
mscorlib, P5 2.0.0.0, P6 4333ab80, P7 116e, P8 29, P9
system.outofmemoryexception, P10 NIL.
BTW i have ms windows server ee 2003 and /3gb switch on.