Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Out of memory
Message
De
30/11/1999 13:16:41
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
29/11/1999 23:29:20
Jacky Yuen
Myth Group Computer Technology
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00296331
Message ID:
00296992
Vues:
24
> For now ,I only use one memo field to store data (Use for Append From MEMO and Copy to MEMO) .
> It work fine ,too ,and faster then b4.
> But the problem is ,the tmpMemo.fpt is 10Mb ! Even I already clean up the memo context when exit program.
> Do you have any idea about that ?

If you don't need all the records at the same time, you could work with only one record at the time - have the text filenames in a table, and have the memo in a cursor, which you create and destroy each time, something like this:

select TableWithFilenames
scan
lcFilename=trim(TableWithFileNames.FileName)
create cursor temp (cText m)
append blank
append memo cText from (lcFilename)
{ do your heavy stuff here with cText memo}
use && this will close and destroy the cursor, releasing memory
endscan

HTH

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform