Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Phar lap error on Foxpro2.6 dos
Message
De
08/11/2001 15:34:16
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
07/11/2001 18:54:29
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00578824
Message ID:
00579351
Vues:
20
>Has anyone seen this error?
>Phar Lap fatal err 10049: Ran out of stack buffers
>
>It started today on this program I'm working on. It doesn't happen all the time to it's to track down. The error is displayed out on the dos level.
>
>The only thing I'm doing different than any other program I write is that in the prg I have a function defined rather than procedure. Is there some limit on open files and the number of calls to other procedures that I can do from within that function? Any arrays and variables I'm using are released as soon as I'm done with them. So I can't see where this memory issue is coming from.

Phar Lap was Watcom's memory manager, which was what Fox used for memory handling in those days. The error is impossible to track, but at least you can figure out where it happens. Usually (didn't have that too often) it sufficed to do some minor change in the code - swap the order of two commands, add a space to some unimportant string, insert a "select select()" line or something equally pointless, recompile all, build a new app/exe and it would run.

Also, in DOS days it happened a lot when emm386 was set to use expanded memory (which was a must in fox 2.0, but a burden in 2.6) - in today's terms, check the memory settings for your exe (in its shortcut, pif or whatever you use to run it) and make sure it doesn't try to emulate EMS (I think the setting was /Frame=OFF). Furthermore, this happened a lot when we had early SMC network cards, which used some block of upper memory to communicate with the driver, and this block overlapped with the 16K window EMS protocol used for communicating with its own blocks above the 1M boundary. This range had to be excluded. I suppose this wouldn't be happening on a W9x or higher OS.

I'm not really sure how much of this may still apply.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform