Find and Replace causes SmartHeap memory Error

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
gweeks
Posts: 1
Joined: Wed Jan 07, 2004 9:28 pm

Find and Replace causes SmartHeap memory Error

Post 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???
User avatar
s_reynisson
Posts: 939
Joined: Tue May 06, 2003 1:59 pm

Post 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
Then I open up and see
the person fumbling here is me
a different way to be
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post 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.
Post Reply