E
Ethan Strauss
Hi,
I am not sure this is the correct newsgroup. If there is a better one,
pleasde let me know.
I have written some memory intensive code in C# using .Net 2.0. I know that
a method I have written can suck up all the memory available to it and cause
an out-of-memory exception, so the calling code catches out of memory
exceptions and deals with them.
My problem is that this does not work on all the machines that need to run
the code. I have a development machine, a staging server, and a production
server. It works fine on my development machine & the staging machine, but
not the production server (of course). On the production server it eats up
all the memroy available to the application pool and then Windows recycles
the application pool because it is out of memory. The Out Of Memory Exception
seems like it is not being generated in the code.
Some machine details.
My development machine
is running Windows XP SP2
has 2 GB RAM
runs at 2.39 GHz
is running IIS
The web application is running on framework 2.0.50727
catches the out of memory error correctly
The staging server
is running Windows Server 2003 SP2
has 756 MB RAM
runs at 2.33 GHz
is running IIS
The web application is running on framework 2.0.50727
catches the out of memory error correctly
The production server
is running Windows Server 2003 SP2
has 756 MB RAM
runs at 1.87 GHz
is running IIS
The web application is running on framework 2.0.50727
DOES NOT catch the out of memory error correctly
The only difference I can see between the two servers is the speed. I don't
see how that could matter for this, but I don't know.
Any other ideas?
Thanks!
Ethan
Ethan Strauss Ph.D.
Bioinformatics Scientist
Promega Corporation
2800 Woods Hollow Rd.
Madison, WI 53711
608-274-4330
800-356-9526
(e-mail address removed)
I am not sure this is the correct newsgroup. If there is a better one,
pleasde let me know.
I have written some memory intensive code in C# using .Net 2.0. I know that
a method I have written can suck up all the memory available to it and cause
an out-of-memory exception, so the calling code catches out of memory
exceptions and deals with them.
My problem is that this does not work on all the machines that need to run
the code. I have a development machine, a staging server, and a production
server. It works fine on my development machine & the staging machine, but
not the production server (of course). On the production server it eats up
all the memroy available to the application pool and then Windows recycles
the application pool because it is out of memory. The Out Of Memory Exception
seems like it is not being generated in the code.
Some machine details.
My development machine
is running Windows XP SP2
has 2 GB RAM
runs at 2.39 GHz
is running IIS
The web application is running on framework 2.0.50727
catches the out of memory error correctly
The staging server
is running Windows Server 2003 SP2
has 756 MB RAM
runs at 2.33 GHz
is running IIS
The web application is running on framework 2.0.50727
catches the out of memory error correctly
The production server
is running Windows Server 2003 SP2
has 756 MB RAM
runs at 1.87 GHz
is running IIS
The web application is running on framework 2.0.50727
DOES NOT catch the out of memory error correctly
The only difference I can see between the two servers is the speed. I don't
see how that could matter for this, but I don't know.
Any other ideas?
Thanks!
Ethan
Ethan Strauss Ph.D.
Bioinformatics Scientist
Promega Corporation
2800 Woods Hollow Rd.
Madison, WI 53711
608-274-4330
800-356-9526
(e-mail address removed)