Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Access Out of Memory Error

Status
Not open for further replies.

jeffshex

Technical User
Jun 30, 2005
208
US
This one is puzzling me.
When ever an action happens (button click or anything that has VBA in it), an error message pops up and all it says is "Out of Memory".
I have tried increasing page file size, and the jet registry for allocated memory and no luck there either.

Anyone have any good suggestions as to why this all of the sudden started happening?
 
Do you keep a lot of VBA modules open? They suck up memory.

 
This may help:

Code:
Sub CloseAllCodeWindows()
Dim i

For i = VBE.CodePanes.Count To 1 Step -1
    VBE.CodePanes(i).Window.Close
Next
End Sub
 
I think that file has just corrupted on itself. I can't even type/paste that code in there Remou.
I had a backup that is working ok - so I will just have to run with that.
That error started coming up right after Access said it had to close and restart itself.
Thanks for the ideas.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top