getting:
aspnet_wp.exe (PID: 988) was recycled because memory consumption exceeded the 148 MB (60 percent of available RAM).
any suggestion of web.config etc optimization? did already all the debug/release compile stuff. but still it takes to fast to much memory. machine got 256mbs ram, on 512mb it runs smooth. want to squeeze it down as much as possible. within code it did also as much to keep memory low, but it kind of 50mb data only. this must be possible. or does the framework need so much?
Well, it should fit, but it depends on what you’re doing with it, and which version of IIS you’re running.
IIS 7.0 however has somewhat larger requirements:
That article has a few other recommendations on optimisations you can carry out, I’d also recommend Tess Ferrandez’s blog, especially her post “.NET Memory usage – A restaurant analogy” which explains memory allocation nicely, and her other posts on debugging memory usage – which start in a similar place to RickNZ’s suggestions.