Page 1 of 1

Pass the Memory Block

Posted: Wed Oct 30, 2002 11:41 pm
by Jehovah
I have been writing this new game for a few months now and have run out of memory.  I have crammed and crammed the veriables down, decresed the I/O, decreased Matrix use, and still, I need several more KB to compile my game into an executable (.exe).  I don't want to use a liberary, because it seems to me that if I were to do so it would increase my problem more since it would take up more space.  I am using qb4.5, might this make a difference?

Re: Pass the Memory Block

Posted: Wed Nov 06, 2002 8:53 am
by Guest
Try this:

1. Load QB like

QB/AH

2. Put this on the top of yer proggie:

REM $Dynamic

Re: Pass the Memory Block

Posted: Thu Nov 07, 2002 10:56 pm
by Jehovah
I tried that when I first encountered the problem and it did not work.  It did make it a little better, but I still don't have enough memory to compile.  

Re: Pass the Memory Block

Posted: Fri Nov 08, 2002 9:53 am
by Guest
Try compiling outside the IDE. QB's IDE takes appx. 300 KB of mem.

Re: Pass the Memory Block

Posted: Fri Nov 08, 2002 9:31 pm
by Jehovah
I never thought of doing that, and; so I tried it.  It did not work, but if it did I don't think it would solve the problem because then they would need too much base memory.  If they were using windows then they would have no problem, since it emulates XMS and base memory with virtual memory.  But if they were in dos and had an old computer (which they would need to have if they did not have UNIX, LINIX or windows) they could not because computers that old were limited to about 16K base memory were now it is much larger.

Re: Pass the Memory Block

Posted: Mon Nov 25, 2002 10:56 pm
by Jehovah
I updated to qb71, it is much better, and solved my problem.  thanks!