foxreplace
foxreplace copied to clipboard
Max page size option
Feature suggestion: an option to not do automatic ("on page load") replacements
on very large pages, with length settable by the user. Very long pages,
especially when the pattern to find is short, cause foxreplace to hang and to
use tremendous amounts of memory. For instance, I have an auto-replace that
replaces smart quotes with dumb quotes (and similar things; em-dashes with
double hyphens, etc.) -- trying to access
https://github.com/majutsushi/nethack/blob/master/nh343-nao.diff with this rule
active caused Firefox to hang for three full minutes before I got fed up and
killed it.
Original issue reported on code.google.com by [email protected]
on 10 Dec 2013 at 8:07
The situation is worse than this.
Large pages (or long substitution lists) can make FoxReplace either
(1) complete but not with all substitutions executed
(2) hang indefinitely (while hogging resources) or
(3) crashing
To be fair, I am talking about a *huge* file and/or a *huge* substitution list.
You can test the limits via the files at http://jo.koan.net/foxreplace (file
names and explanation in the screenshot png should be enough but let me know if
it does not make sense).
Am using FireFox 26.0
Original comment by [email protected]
on 26 Dec 2013 at 3:02
Related to issue 126.
Original comment by [email protected]
on 26 Dec 2013 at 9:13
- Added labels: Priority-Medium
- Removed labels: Priority-Low
Original comment by [email protected]
on 2 Jun 2014 at 9:04
- Added labels: Performance, Priority-High
- Removed labels: Priority-Medium