Page 1 of 1

Find and Replace causes SmartHeap memory Error

Posted: Wed Jan 07, 2004 9:54 pm
by gweeks
I have installed TextPad 4.0 on a Windows 2000 SP3 terminal server. When a user tries to perform a find and replace with the following variables:

Find: ~
Replace with: \n

The process takes an extraordinary long time...then fails with the Following message:

SMARTHEAP LIBRARY ERROR
Out of Memory, Please free up some memory and reply

The file(s) are not that large .5 MB

Any suggestions???

Posted: Wed Jan 07, 2004 11:08 pm
by s_reynisson
Just did find ~ replace \n on a 600kb file, about 4000 replacements.
Works fine on WinXP,SP1 with TextPad version 4.7.2.
Perhaps try the latest version?
HTH

Posted: Thu Jan 08, 2004 10:49 am
by MudGuard
I just filled a file with 80000 (eighty thousand) lines of 100 ~
making altogether 8000000 (eight million) ~ characters,
then I replaced the ~ with \n.
It took some time (about 15 minutes), but then I had a file with eight million eighty thousand empty lines.