Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alines Capacities
Message
De
03/12/2013 09:07:26
 
 
À
03/12/2013 09:02:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01589139
Message ID:
01589145
Vues:
61
>>Hello
>>
>>What is the maximum number of elements an array can have? I am reading in a text file using FILETOSTR() and converting to an array of lines using ALINES(). The file size is 132,040 KB. I am getting an error "Not enough memory to complete the operation", error 43.
>>
>>Any suggestions or ideas where to look?
>
>
>Jos,
>
>With such a size - I'd rather use fopen- fgets - fclose

Hi Gregory,

OK, I have tested further. This file was at a remote site. I have transferred the file to me and I can FILETOSTR() and ALINE() the resultant string without a problem - all OK for me. So its a local issue at the user. But it definitely fails on the line which does these 2 operations in a single step. I have now split this into 2 separate lines of code and will run it again to see which function it fails on (the ALINES or the FILETOSTR). Will report back.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform