Memory issue with COM+ .NET Managed Component

From: Jon Snow (seedollarsign_at_hotmail.com)
Date: 08/12/04


Date: 11 Aug 2004 19:32:35 -0700

I have a component that I've writen in C# that does a lot of disk
reading and processing. What I'm noticing is that when I have the DLL
as a part of a console test app, my memory usage stays rock solid.
It'll jump to about 58MB of RAM after processing 750MB of files off
the disk. When I plug the same DLL into COM+, I'm noticing that my
RAM usage goes up with every read and is never being freed. For the
same number of MB read from disk, my RAM usage runs up to a gigabyte.
I've profiled the test console application in .NET Memory Profile, and
it looks like I'm doing a very clean job of disposing of my objects
(most everything implements the IDisposable interface). So I'm not
sure what the problem is. Any suggestions?

Thanks,

Jon



Relevant Pages

  • Re: Memory issue with COM+ .NET Managed Component
    ... I also had too much memory being used by a COM+ app, ... components in it, and was not doing disk IO by itself, but it was doing it ... > same number of MB read from disk, my RAM usage runs up to a gigabyte. ...
    (microsoft.public.dotnet.distributed_apps)
  • multi-second freezes with current GIT?
    ... I've been noticing this off and on for the past week or so. ... The system seems to jam up for several seconds, ... need to read from disk just sits there during this time. ... Perhaps it's a side effect of those dirty ratio changes Linus made to ...
    (Linux-Kernel)
  • Re: [PATCH] thinkpad-acpi: should error return be nagative?
    ... Thank you for noticing this. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... "One disk to rule them all, ...
    (Linux-Kernel)
  • Re: sp2 drives up memory usage
    ... You are *not* going to reduce RAM usage. ... >> Description of the Disk Cleanup Tool in Windows XP ... >>> Hi, after installing sp2 the memory usage increased significantly, ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: G5 10.4.11 iMac running amok
    ... noises from within the case) at random times, ... My guess is that it's sending RAM to disk, ... If RAM usage by background processes is a problem, ...
    (comp.sys.mac.hardware.misc)

Loading