|
-
Sep 24th, 2001, 10:45 AM
#1
Thread Starter
Lively Member
Memory usage
I have created an application that uses a database with many different recordsets/tables. During the running of my app i notice the functionalities are getting slower. I am thinking that I maybe using up the RAM with my variables and controls etc....
I thought i was fushing out the mem by using the code: Set rsRecordVar = Nothing
Is there a way I can measure the amount of RAM a particular variable/control is using at one time. Just to allow me to identify the code area that causing the slow down.
Thanx
clax
-
Sep 24th, 2001, 10:51 AM
#2
Frenzied Member
With VB comes a handful of tools, including Process Viewer, Heap Walker, Spy++, etc. By using a combination of them, you can figure out how much RAM your app uses. It has to be an EXE or DLL to work properly.
Use either Process Viewer or the App.hInstance property to get a PROCESS ID for your program. Then go to heap walker, and find your process in the list. It will show all data allocated. Watch this list and refresh it often to see how that all changes.
-
Sep 24th, 2001, 01:34 PM
#3
Thread Starter
Lively Member
Thank you
I didnt know about the apps u mentioned - ill have a look
thanx again
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|