Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 17th, 2003, 08:22 PM
Authorized User
Join Date: Oct 2003
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default VBE window crashes due to Lack of memory?

Hello everyone,
On one particular Access application I have on my computer, I can't seem to access the vbe window anymore.
If I can, It's extremely unstable and ends up invariably crashing at least 10 times within an hour, with a warning message saying my "memory is at a dangerous level", or "no memory", or other memory shortage related issues. It progressively got worse, one day I couldn't enter at all, untill I got rid of waste on my computer. (Did I just answer my question?)
Another application I have, suffers from instability also, but doesn't crash, or offer any error messages why it's doing what it's doing. eg;The Auto List Members & Auto Quick Info doesn't stay up for more than a second, & when writing, letters jump around(long story).
3rd Application which is considerbly smaller than both, so far, has no problems.
Both these troublesome applications, have lots of programming on them, not too much error handling. My computer has maybe 1gig on C drive left, about 4gig on D Drive, & 125 Ram.
Is it a computer problem or Access?
Thank-you in advance!

Old December 17th, 2003, 11:21 PM
sal sal is offline
Friend of Wrox
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts

Are you running any software on the background such as "System Works"? that stuff eats memory.

Make sure you defrag and do all of the nescesary maintenance to your PC, but, I do know that if you are using global variables anywhere youyr apps will behabe the same way.

Do you have any global variables in your app? any in a module? Are you cleaning up your memory programattically?
What is the size of your database?
How long have you been using it?

Old December 28th, 2003, 05:27 PM
Authorized User
Join Date: Oct 2003
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts

Thank-you Sal,
It appears I didn't have enough memory in my computer.
Bought a new one & voila, no more crashes, at least due to that.
Thanks again, you brought up some good insights for the future!

Similar Threads
Thread Thread Starter Forum Replies Last Post
selecting nodes that lack certain attributes rmers XSLT 3 October 4th, 2006 03:44 PM
Stop VBE Window Showing Skunk Excel VBA 0 December 31st, 2004 05:26 AM
Pop Up Window crashes browser higgsy Javascript How-To 1 August 18th, 2003 03:32 AM
Lack of attention Gjerstad Forum and Wrox.com Feedback 1 July 7th, 2003 08:29 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.