Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Environment gets totally hosed -- Desperate!
Message
De
21/11/1999 01:59:47
Christian Berrigan
Enterprise Data Solutions, Inc.
Brush Prairie, Washington, États-Unis
 
 
À
20/11/1999 18:30:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00293511
Message ID:
00293597
Vues:
25
Thanks guys for your help. I really appreciate it. I'm going to put the suggestions in the below referenced message and link. Changing the SCAN to a DO WHILE is a very easy test. Checking that every single object is explicitly released rather than going out of scope is more tedious, but doable and worthwhile. I found it interesting that Bruce used MORE SQL in his solution. I remembered a KB article about reiterative SQLs with either XX number of joins or using BETWEEN() or something like that causing C5 problems and was about to try to strip more SQL out of my code.

I'll give these two a try. Thanks again.

Any other/further suggestions are greatly appreciated.

Christian Berrigan

>>>My conclusion is that the "big scan" is totally hosing the environment, but how or how to avoid or how to fix is the "big question". there is absolutely now way to code around the bad environment. It has to be either fixed or prevented.
>
>Here is part of message from Bruce Campbell, Message# 292351, where he describes memory leaks in a SCAN loop the performs multiple SELECTS. You might try eliminating the SCAN and replacing it with DO WHILE.
>
><>I have some "small" (as in GUI, but not small in calculations :) mathematical vfp apps that require as long as a day or two to run, which create many hundreds of thousands of repeated cursors and billions of calculations. I had trouble with memory leaks using SCAN - eventually went to as much SQL as possible and a few FOR loops solved the problem. Also, if you're not already doing so, I recommend using a stand-alone machine with no network connection and certainly no AV scanner running. Those also were causing problems...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform