|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Large text file parsing
I am using
PHP Code:
to place a text file into a variable so that later I can place it into an array. The text file has slightly less than 200 000 lines in it with and over 14 000 000 characters. Everytime I run it I get error 14 Out of string space. Is there some other way of doing this without getting this error. |
|
#2
|
|||
|
|||
|
You'll have to redo your code so you don't need to read the entire file into memory at one time. Try reading a line at a time and do whatever processing you need on a line by line basis, maybe.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Large text file parsing |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|