DCOM leaking memory!


[ Follow Ups ] [ Post Followup ] [ Message Board ]

Posted by [IP Address: 194.100.153.125] 'Mats' on September 18, 2001 at 13:11:48 EST:

I have a DCOM component built with the DCOM component builder. My VB project calls this component and retrieves general ledger accounts and their details.

However, after retrieving (and inserting to a database) about 4000-5000 GL account details my computer runs out of virtual memory. When checking what goes on I found out that it is DLLHOST.EXE that is leaking memory. Normal memory used is kept under control - but the virtual memory just keeps on increasing until the computer stalls (about 1 GB on my computer).

Has anyone had similar problems? My OS is WIN 2000. I have tried all possible ways of declaring objects and recordsets and destroying them during the process, but nothing has helped. I'm 99% sure that the memoryleak is not due to any loops or objects not beeing destryed in my VB code.

Any help at all is much appreciated.


Follow Ups:



Post a Followup


Name:
E-Mail:
Subject:

Message:


[ Follow Ups ] [ Post Followup ] [ Message Board ]