my computer is struggling to open a text file.
My internal fan isn't working either so if I try wordpad, it gets too hot and it shuts down by itself.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
dunbarx wrote:Hi.
I cannot think this is a LiveCode issue.
What happens if you try to do anything else with a large file? Like simply copy and paste it?
Craig Newman
Code: Select all
split -b 100m myfile.txt
yes just a huge text file, unfortunately I only have Windows on this machine.MaxV wrote:1Gb?
What is it?
Is just a plain text file?
I this case you can speed up very easy.
If you use Linux I suggest to split the file:so you'll have just 10 files of 100 Mb each.Code: Select all
split -b 100m myfile.txt
FourthWorld wrote:I recently had occasion to parse contents out of a 6.2 GB file (tip: don't try anything bigger than 2 GB in versions prior to 7.1rc1, as seek addressing has been enhanced for 64-bit file systems). So with the most recent version it's possible to handle just about any size file any modern file system allows. The trick is to do so as other programs do: don't attempt to put all that data into RAM at once, but instead page it in chunks and parse what you need as you go.
The specific of how to do that will vary depending on the task at hand. May I ask what you want to do with the data? That will help guide us toward finding a good solution for you.