Results 1 to 2 of 2

Thread: Cannot perform AutoRedraw function: Out of Memory

  1. #1
    Guest

    Exclamation

    To give you some background, im making a game that uses TONs of bitblt and it has been serving me great so far but i have to restart my comp every 10 minutes or so because i stop and run the program so much that all that bitblt info gets flooded into virtual memory and other stuff.

    Well i know why that error comes up but i dont know how to fix it. Is there some way to "dump" all the bitblt info that's been cached? i have read somewhere that you can't and that is one of the major flaws of bitblt but im just making sure.

    So anyone know how you can dump all that info stored so i wont have to restart as much? If there is no way, please tell me if i can do something else to help at least a little. TANKS! =)

  2. #2
    Registered User
    Join Date
    Apr 1999
    Location
    Brazil
    Posts
    144

    Lightbulb Try this!

    I had this error too (but not in games) and I suggest you:
    a) Clear your temp variables ( Set var = Nothing)
    b) Set the AutoRedraw = True when you begin to paint and AutoRedraw = False when you finhish it.

    Good luck!
    Jefferson

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