Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Out Of Memory (Shell Command)

Status
Not open for further replies.

rlvron

Programmer
Oct 18, 2002
2
US
I am working on a Qbasic app that was created long ago by another programmer. I am getting Out of Memory errors whenever I attempt to run a shell program. Any suggestions??? The shell command seems to work fine in 27 out of 28 Qbasic apps we are running. I am trying to reduce the amount of variables used but am not sure I will be able to and still have a functional program. Thank You in Advance.
 
It is trying to run the SHELL program in Qbasic's memory. I think once you compile the program you won't have that problem any more
 
No... your QB programs free memory is just smaller then what DOS needs to run, compiled and uncompiled. Once you get your program over a few KB, that happens... the only thing you can do is reduce the memory footprint of your application... or use a shell workaround. What are you trying to do with Shell? Perhaps we can come up with an alternitive.
 
Thank You for the help. I compiled the program and it worked from the .exe I was tring to shell out to run Pkunzip for archiving functions. Thank again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top