Deal with out of memory error when doing Find&Replace

Bug reports concerning HxD.
Post Reply
Maël
Site Admin
Posts: 1139
Joined: 12 Mar 2005 14:15

Deal with out of memory error when doing Find&Replace

Post by Maël » 09 Apr 2013 17:02

With large files and many replaces an out of memory error can happen.

Store some of the information on disk instead of memory.
Stop search and replace a while before out of memory is reached and ask what to do (choice-dialog):
  • save changes to disk and empty undo cache
  • just stop search&replace
  • undo all changes made by search and replace so far
Generally, option to save to disk while discarding undo when memory gets low. Disk-swapping for 32bit system (temporary file), check max size of temp file for 64-bit edition, else also implement disk-swapping.

Post Reply