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 » Wed Nov 14, 2007 4:36 am

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: 1201
Joined: Mon Jan 31, 2005 5:32 pm
Contact:

Re: Very large files

Post by Abacre » Wed Nov 14, 2007 9:11 am

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 » Tue Sep 30, 2008 10:16 am

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

Who is online

Users browsing this forum: No registered users and 4 guests