Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Runtime Reports Insufficient Memory
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01049277
Message ID:
01049536
Vues:
16
>>>I'm having problems with insufficient memory while processing large tables using the VFP7 runtime. The procedure translates DBFs exported from Cognos Impromptu into highly-formatted Excel spreadsheets, and then emails the files as attachments.
>
>>Try including a call to SYS(3050) in your code that limits your memory usage to about 1/3 of what's available. (in your case about 600MB).
>
>Hi Fred,
>
>Thanks for your reply. I didn't know that command existed until I ran into this trouble. I'm surprised that FoxPro has a problem handling memory in excess of one gigabyte.
>
>I applied the suggestions that Sergey provided and the application is working great. Thanks again.
>
>---Michael

It's not that VFP has a "problem" with larger amounts of memory, it's just that Windows lies in telling how much memory is actually available (includes swap space). VFP tries to take as much memory as it can, so it may end up using the swap space as RAM and that doesn't work very well.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform