Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FPT file suddenly goes over 2GB
Message
De
24/04/2007 05:52:20
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01219223
Message ID:
01219225
Vues:
18
Colin,

We are using a table which has an FPT file whose normal size is 45mb - every now and then it suddenly expands to over 2GB

While a ftp can expand very quickly if you're doing replaces against large memo/general fields, VFP can't handle a ftp in excess of 2Gb. So it may well be an OS artifact. What server OS are you using?

You might also consider using SYS(2012) against the table to check its blocksize. The ftp can grow alarmingly depending on the blocksize- e.g. if the blocksize is 32, VFP will allocate 16K per memo even if it only contains "Hello world". Add 100,000 records and your 1Mb of memo field will need a 1.6G ftp.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform