D
DC
Hi,
I am using a windows serivce that allocates large data arrays. The
service already functions fine for years with framework 1.1.
With 1.1, the service is using about 1.1 to 1.3 GB of physical memory,
and task manager reports 1.3 to 1.6 GB of virtual memory (I know so
little about memory management that I cannot tell if the virtual memory
is actually including the physical memory shown...). The used memory
increases by about 100 - 300 MB quiet suddenly, but will then relax and
decrese by 100 - 300 MB again.
The machine is a 2 CPU 2 GB box.
When I run the service on the same machine but compiled with VS 2005
SP1 (after running the upgrade wizard) and using framwork 2.0, the
physical memory usage will go up to about 1.4 GB and the virtual memory
to 1.7 GB and then the service will report permanent
OutOfMemoryExceptions and basically cease functioning.
Why is that? I already moved to a machine with 2 GB of Ram while
previously the service was running fine with 1.5 GB memory. With both
machines the 1.1 version is OK, the 2.0 version bombs.
I did stupid stuff like changing the machine.config
<system.web>
<processModel
autoConfig="true"
memoryLimit="80"
/>
...
but certainly this memory limit only accounts for ASP.Net. (BTW: does
someone know if it is OK to combine the autoConfig attribute with some
individual settings?)
Does someone have a meaningful troubleshooting idea for me? I don't
want this service on 1.1 forever.
Thank you for any hint in advance! Regards
DC
I am using a windows serivce that allocates large data arrays. The
service already functions fine for years with framework 1.1.
With 1.1, the service is using about 1.1 to 1.3 GB of physical memory,
and task manager reports 1.3 to 1.6 GB of virtual memory (I know so
little about memory management that I cannot tell if the virtual memory
is actually including the physical memory shown...). The used memory
increases by about 100 - 300 MB quiet suddenly, but will then relax and
decrese by 100 - 300 MB again.
The machine is a 2 CPU 2 GB box.
When I run the service on the same machine but compiled with VS 2005
SP1 (after running the upgrade wizard) and using framwork 2.0, the
physical memory usage will go up to about 1.4 GB and the virtual memory
to 1.7 GB and then the service will report permanent
OutOfMemoryExceptions and basically cease functioning.
Why is that? I already moved to a machine with 2 GB of Ram while
previously the service was running fine with 1.5 GB memory. With both
machines the 1.1 version is OK, the 2.0 version bombs.
I did stupid stuff like changing the machine.config
<system.web>
<processModel
autoConfig="true"
memoryLimit="80"
/>
...
but certainly this memory limit only accounts for ASP.Net. (BTW: does
someone know if it is OK to combine the autoConfig attribute with some
individual settings?)
Does someone have a meaningful troubleshooting idea for me? I don't
want this service on 1.1 forever.
Thank you for any hint in advance! Regards
DC