Re: low virtual memory
From: Roger (NOSPAM_at_hotmail.com)
Date: 03/11/04
- Next message: Simon Trew: "Re: virtual listview"
- Previous message: SunFire: "Re: application"
- In reply to: nirk: "low virtual memory"
- Next in thread: nirk: "Re: low virtual memory"
- Reply: nirk: "Re: low virtual memory"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 11 Mar 2004 10:17:22 -0600
"nirk" <anonymous@discussions.microsoft.com> wrote in message
news:40878D4A-809D-49E3-B49E-37114FC9C6B8@microsoft.com...
> There is a database with 20,000 records around 16MB i am using a ATL COM
Dll to query this database and retrieve each record. Each record is in form
of an array and again the all records are placed inside a safearray.I have
writen a test program to repeatedly query this funcvtion and load the
safearray with all the records.But all 3 times i get an error message that
my computer is low on virtual memory and needs to be increased . What i feel
is i am not able to release COM pointers. But whatever interface pointers
are there they are all ssamrt pointers that is they release themselves.
>
> I can see in the TAsk manager that after each call to the function the mem
usage keeps on increasing . And finally it reaches the maximum level and i
get this error message of low virtual memory
>
> regards
> nirk
Does your DLL by chance use ADO's GetRows method to fetch the records?
-Roger
- Next message: Simon Trew: "Re: virtual listview"
- Previous message: SunFire: "Re: application"
- In reply to: nirk: "low virtual memory"
- Next in thread: nirk: "Re: low virtual memory"
- Reply: nirk: "Re: low virtual memory"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|