🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #199

QBX Memory Problems

#199
From: Randall L. Schrickel NDM
Date: Thu, 05 Nov 1992 21:03
18 lines
1631 bytes
The application I'm working on is rather large (16,000 lines) and is getting
rather difficult to handle under QBX. Specifically, running out of memory.
The program itself seems to run fine, it's only when I exit the program and
return to QBX that I get "out of memory" errors. I have looked at the docs and
Winer's book to death. I print out all the fre numbers (-1, -2, -3, "foo", 
and foo$) plus STACK before and after each array DIM, but haven't learned 
anything from that. Actually, I learned that most of the numbers DON'T change -
which doesn't seem right. Changing some string arrays from fixed length to 
dynamic (which I expected to free up some DGROUP) only made things worse (it
then died with "out of memory" during the execution, when it tried to dim one
of the string arrays). I'm running on a machine with 8 Mb, qemm, dos 5, and I
use the /ea switch when starting QBX (no huge arrays). Other people I've talked
to say it must be DGROUP, but my fre() experiments have not shown this to be 
necessarily true. Any other suggestions? Does VB/DOS handle memory any better?
I'm now spending all of my time trying to figure out this problem instead of
writing and debugging new code!

much thanks - randy@aplcomm.jhuapl.edu
Technical Details
Message-ID: <9211052103.AA07580@horton.jhuapl.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!hela.iti.org!usc!cs.utexas.edu!gateway

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!hela.iti.org!usc!cs.utexas.edu!gateway
From: randy@horton.jhuapl.edu (Randall L. Schrickel NDM)
Newsgroups: alt.lang.basic
Subject: QBX Memory Problems
Date: 5 Nov 1992 15:03:53 -0600
Organization: UTexas Mail-to-News Gateway
Lines: 19
Sender: daemon@cs.utexas.edu
Message-ID: <9211052103.AA07580@horton.jhuapl.edu>
NNTP-Posting-Host: cs.utexas.edu