Greetings VB'ers,
I have an application that intermittently displays run-time error 7 "out of memory". Any ideas why this is happening? It occurs at different times during the program's execution. I'm using VB6 Enterprise.
Please Help!!!
Printable View
Greetings VB'ers,
I have an application that intermittently displays run-time error 7 "out of memory". Any ideas why this is happening? It occurs at different times during the program's execution. I'm using VB6 Enterprise.
Please Help!!!
How big is your program?
Maybe if you don't have enough memory(RAM) on your computer,your program will take all of it.Try to only run VB(and your application,if not .exe)and try to close any running programs!
Hi,
2 simple questions...
1) Do you have a lot ( I really mean a lot ) of string or variant data type ? These can overload a system quite easily...
2) Do you have like recordsets or resultsets or ado connections in events like paint or rowloaded that are never closed ? Watch for this kind of thing, not closing connections in repeatitive events or RECURSIVE functions can lead to memory problems...