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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Out of Memory

Status
Not open for further replies.

RADM

Programmer
Joined
Dec 27, 2003
Messages
36
Location
IT
Hi,

Whenever I am trying to open VBE, "Out of Memory" message is appearing. I have around 10-25 forms and that much of reports with tables and queries. If somebody can send me a solution, it will be helpful for me.


Regards,

Ramadas
 
I would try decompiling, compacting & repairing your database.


if that doesn't work, try opening the file on another PC or creating a new file and importing the objects in your old file into the new.

Good luck

Ben

----------------------------------------------
Ben O'Hara "Where are all the stupid people from...
...And how'd they get so dumb?"
rockband.gif
NoFX-The Decline
----------------------------------------------
 
You may indeed be out of memory if you are using A2000 or newer. In these versions, Microsoft changed the way it loads code modules (essentially to improve response time). In A97, it loaded only the modules needed. Now, it loads them ALL and they are memory hungry. You need to do some housekeeping. Make sure all your Object variables like
Dim db as DAO.Database
Dim rst as DAO.Recordset

are closed
Set rst = Nothing
Set db = Nothing

That will help. Also, the decompile will help.

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top