Results 1 to 3 of 3

Thread: Aarrrghh!!! Run-time error

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Location
    Boulder, Colorado
    Posts
    22

    Angry

    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!!!
    C-Dog

  2. #2
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606

    Exclamation MMMMMMMMMM?

    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!

  3. #3
    Addicted Member
    Join Date
    Jul 1999
    Location
    St-Élie d'Orford, Quebec, Canada
    Posts
    133
    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...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width