Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 934
  • Last Modified:

Not enough memory error on trying to open Access database

Hello people,

Firstly, I would just like to say that I have been using Access 2002 for nearly 5 months now and despite having some ok features, I find it to be another piece of Microsoft junk. Oh, why can't the world be a fair place where the good are rewarded,the evil punished and producers of crap software go bust very quickly instead of taking over the world and forcing this rubbish on the rest of us.

The latest Access annoyance I'm experiencing is that I have a database file which now won't open. I get this message:

There isn't enough memory to perform this operation. Close unneeded programs and try the operation again.

There is 256 MB of RAM in this machine and when I try to open the file (with no apps running) there is about 100MB available. The file is about 5MB with only a few entries in some pretty standard tables.
Tried using Jetcomp. It compacted the file down to about 3.5 MB, but the file it created still gives the same message as before.
Advice appreciated here.

0
p_mccann74
Asked:
p_mccann74
3 Solutions
 
rotembenCommented:
Hi p_mccann74,
Does your machine have more than one gig of memory.
remember Microsoft stating that they had problems with the jet engine 3.0 and below.  You may want look into this and or upgrade your jet engine above 3.5

Rotem
0
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Any background pics, OLE objects? These can be real memory hogs ... also, can you open the db while holding down the Shift key? This will bypass your startup code and allow you to troubleshoot.

256 mb is the absolute minimum I'd use with 2002 ... Access itself is huge, and is very memory hungry. Unless you're opening every record in the db on startup, I doubt the actual size of the db is a problem ... 3.5 mb is very small, and wouldn't be the cause of it.

What version was this built with? Was this converted up?

Any infintie loops in the code, unhandled errors? Any ActiveX controls in use? All your references okay on the machine? I've seen all of these cause all sorts of errors, many of which don't make any sense.
0
 
shanesuebsahakarnCommented:
0
 
p_mccann74Author Commented:
I wanted to find out what was causing this problem but due to the politics of using a manged computer it looks like I won't be able to for a while. I am working with a recent backup copy of the file for the time being. Will do pretty much the same as before and see if the same thing happens. Will be back here soon with my findings.
Again thanks to all of you.
P
0
 
p_mccann74Author Commented:
I got IT guys to increase the page file to 1GB but it didn't work. Funny thing is that I am now working with a backup copy that is nearly identical to the troublesome file and it seems fine. Oh well I guess I'll never know what the problem was. Just as well I had the file backed up or it would have been months of work down the drain.
Thanks for your advice anyway. I've split the points amongst the 3 of you .
P
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now