Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not Enough Memory
Message
De
05/04/2002 10:32:38
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00640399
Message ID:
00641443
Vues:
16
Of course autoexec.bat has many lines that each end with chr(13)+chr(10) pair and each line is less than 200 in length.
Try with a binary file or :

StrToFile(replicate(replicate('A',200)+'B'),5),'mytest.txt')

Cetin


>No, i've done it and it works fine, i tryed with c:\autoexec.bat and the result is one record for each line in c:\autoexec.bat
>
>HTH.
>
>
>
>>Jonathan,
>>W/o knowing file content this might end up with one 200 chars record.
>>Cetin
>>
>>>Try this:
>>>1) Create a table with one field type character lenght 200
>>>2) open the table
>>>3) type this: append from e:\bigfile.txt delimited with tab
>>>
>>>It´s done!!!
>>>
>>>
>>>
>>>>Running on Win2K-AS/SP2 with 256mb of physical RAM and 1.6gb of pagefile.
>>>>
>>>>I have an 880-megabyte text file. The following code in VFP7/SP1 gives me the error "There is not enough memory to complete this operation".
>>>>
>>>>Clear
>>>>? Datetime()
>>>>cc = FileToStr("e:\bigfile.txt")
>>>>? Datetime()
>>>>
>>>>What can I do? I must load this file.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform