Discussion Locked

Runtime error '7': out of memory...HELP!

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
We have an in-house application that has been giving us problems. After only installing windows and setting up the ODBC to connect to the main database here, I installed the the basic VB app and every time I go to open it I get the runtime error '7': out of memory. I've tried replacing hardware, updating the odbc with the latest MDAC, and many other things. I'm stuck. PLEASE HELP!!

9 replies

by mphoffar

We have an app that kind of the same thing, VB using a ODBC connection. With ours this turned out to be an IP that was set in the registry on setup of the VB app pointing to the wrong server.

The other thing that caused this with our app was using the wrong driver (32 bit or not) to try to access the database.

Without knowing any more about the setup you have (oracle, sql, etc..) it's hard to say what else is causing this, however, I do suspect it's the app's way of telling you thatit's not hitting the database and has nothing to do with the hwardware of the machine.

Mark

by ryanfranklin

We are using sql 6.5. I know the typical errors when this application isn't hiting the database, and the crazy thing is that this error has only been happening lately with the newer pc's. It seems like the newer pc's all had WIN98 SE installed, could this be a possibility?

by mzy

Actually, Out of memory is an error when you do not have enough Ram to open the program. Usually a restart will correct this problem, but "Ram-Eating programs" such as Photoshop will cause this. I don't know the nature of the Basic VB app, but i suppose it is also Ram-Hungry. Maybe you can open it before you installed ODBC, then you can install more Ram. This will solve your problem.
Hope this works, Maozy.

by ryanfranklin

The error is misleading because it doesn't have anything to do with physical memory. I had up to 128 megs of ram in this pc and at one point removed EVERYTHING that loaded at startup in the system tray and elsewhere. This still didn't help.

by mike_mds

Take a look at microsoft article q264405, it gives a possible reason for your error. In any case, it looks like something the programmer(s) that did the app need to look into (which goes WAY over my head!).

by kgosnell

Something is looping queries , and it is being written to one of the cacheing areas, cut the trash out by emptying the C:\Windows\Temp file , and paste a single word into a text file or document, this clears the Clipboard , if you write a amount forthe Virtual Caching , remember it uses a base of 64 , set the minimum to auto , and the maximum somewhere above 1024 or to auto , but remember your ram limits , DO NOT set the value below the default as it will cause the Fat write not to operate properly , and that can cause a stoppage that misreports the results. Lastly go to the Langa List and look up "Save your Butt in Dos, the program he developed is a simple way to remove trash otherwise not accessable.

This discussion is closed to new replies.