|
-
September 15th, 1999, 03:43 PM
#1
MEMORY PROBLEM
Hi all,
I am getting an error message in MS-ACCESS. When I am trying to run my application developed using VBA I get an Error message "Out of Memory 2001" Can any body help me why this occur. Also this does not occur always it happens after the application runs continously for some days. As my app should run all the time I could see this as a bug in MS-ACCESS. Can any one clarify this.
Thanks
Srini
-
September 15th, 1999, 10:34 PM
#2
Re: MEMORY PROBLEM
It looks like you forget to close database objects when you don't need them anymore. If you open recordset with OpenRecordset method it's good idea to close it with Close method and set to Nothing. Do you do this? If yes, I'm sorry.
Vlad
-
September 16th, 1999, 01:45 PM
#3
Re: MEMORY PROBLEM
Thanks for that info. I did closed all the database objects and set them to nothing. What else could be the problem ? Its strange thing that it occurs after 3-4 days after running the app continously.
Thanks any how for the help.
Srini
-
September 17th, 1999, 06:19 AM
#4
Re: MEMORY PROBLEM
Are you using arrays? (redim them to 0 when you don't use them)
Crazy D @ Work :-)
-
September 17th, 1999, 03:25 PM
#5
Re: MEMORY PROBLEM
No, I am using DAO. I am using many database objects. I am closing and setting them to nothing.
Srini
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
|