Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory won't release
Message
 
 
À
28/01/2009 11:40:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows Server 2003
Network:
Windows 2003 Server
Divers
Thread ID:
01377732
Message ID:
01377738
Vues:
41
See if http://www.berezniker.com/content/pages/visual-foxpro/lowering-memory-usage-application may help.

>
>I'm trying to understand how to optimize an VFP application. I have a program that appends approximately 250k records into a free table, does some basic processing and then writes the records out to a flat file via the "copy to sdf" command, closes the table then another series of programs run all within the same instance of VFP.
>
>When I watch the VFP6.EXE via the Task Manager and the program I describe above runs, it's memory usage climbs to the max that I've set with the sys(3050) command, which is about 512MB. The problem I see is that the memory never releases even when the table closes and that particular program closes. I've tried to use the FLUSH and sys(1104) commands but those don't seem to make any difference.
>
>I cannot close the VFP instance nor can I use the CLOSE ALL or CLEAR ALL commands. Anyone have any ideas or is this just an issue with VFP6?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform