Very large files

General discussions about Advanced Find and Replace
Post Reply
GrahamShepherd
Posts: 2
Joined: Wed Nov 14, 2007 4:28 am

Very large files

Post by GrahamShepherd »

I have used AFR very successfully for very large numbers (15,000 plus) of files with 200 plus rows of code. It has worked quite quickly.
I now wish to use it for a single very large file (10Mb plus) with a few tens of lines of code. However it never completes. Are there any options for me to deal with this?

Abacre
Site Admin
Posts: 1223
Joined: Mon Jan 31, 2005 5:32 pm

Re: Very large files

Post by Abacre »

For large files you should switch off Make Text Preview option located in menu Action - Options - Preview. Collecting preview information is very time consuming process. You may speed up find/replace in more than 10 times if you don't use Preview.
Kind regards,
Abacre Limited
http://www.abacre.com
support@abacre.com

GrahamShepherd
Posts: 2
Joined: Wed Nov 14, 2007 4:28 am

Re: Very large files

Post by GrahamShepherd »

After trying this I gave up but I am back again using version 4.0. However, when I try to do even a simple one line regular expression replace on a single large file with text preview turned off I get an "out of memory" message.
I am searching for this: 1 NAME (.*)/(.*)/
And replacing with this: 1 NAME $1/<%=Upper("$2")=%>/
(It works fine on the regular expression builder.)
The file size is 9MB and my system memory is 3GB.
Any suggestions, please?
Regards, Graham

Post Reply