|
-
Jul 17th, 2001, 11:23 AM
#1
Out of memory error
two questions (which may be interlinked):
1)
I often get 'out of memory' errors while running a game, which I'm making. It uses quite a lot of memory (about 10 MB), but even then I have 100s of MB of free disk space for virtual memory.
Also, the largest variables are declared as public in a module so if I'm not mistaken, they should be allocated from the heap, not from the stack, so it can't be that the program runs out of stack space.
What could be causing this error?
2)
The program uses a lot of device contexts. Are device contexts allocated from video memory?
Could VB be referring to video memory when it gives the out of memory error?
Any suggestions are more than welcome!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|