Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Out of memory
Message
From
30/11/1999 13:16:41
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
29/11/1999 23:29:20
Jacky Yuen
Myth Group Computer Technology
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00296331
Message ID:
00296992
Views:
25
> 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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform