Page 1 of 1

Memory problems

Posted: Thu May 19, 2011 9:10 am
by Rumbo
When I use TextCrawler with a 200 MB text file at first everything seems to work. The only suspicious thing is that TextCrawler reports a file size of only 90 MB in the upper window.

After searching the preview window below reports something like "Unable to show file, the argument Length must be 0 or above."

After some tries I get a System.OutOfMemoryException error.

Is there a buildt-in limitation? I still have 1.5 GB RAM left for TextCrawler to play with, 200 MB shouldn't be a problem?

Posted: Sun May 22, 2011 5:05 pm
by DV
No built in limitation, but it does behave erratically with large files. Probably due to the way it processes the whole file in memory (this is to allow multiline regex tests across the entire length of the text).
I plan to add a line-by-line processing option to enable better handing of any size file.

Posted: Sun May 22, 2011 9:50 pm
by Fool4UAnyway
Or apply some maximum number of character limit to greedy expressions like .*. Who would want to look for a match greater than any number of MB's?