Ok, so here is the problem. In our production environment (ASP.Net), our servers have a huge amount of memory, as well as a huge number of users / sessions. My computer has 8 gigs and I am the only user. In production, we (rarely) get it System.OutOfMemoryException.
With this background information, here's the question: can the CLR be considered that I only have memory or less? IIRC, there is a command line option for this for Java.
Another option is to make some really large objects to fill the memory in order to simulate low memory conditions. But this requires modification of assemblies, and huge objects can be cached to disk.
Recommendations? Or other options?
source
share