Not enough memory to perform FIND

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
Erin

Not enough memory to perform FIND

Post by Erin »

When using the "Find in Files" tool, I get about 10-20 results and then the error message "Not enough memory for that operation.".

This error did not previously occur when I searched other files - what can I do to allow this search to run successfully? Is there a limit to the number of files TextPad can search with this tool?

Thanks!
Erin

Re: Not enough memory to perform FIND

Post by Erin »

PS I'm using TextPad 4.4.0, and my search string is short (only 6 characters).
moderator

Re: Not enough memory to perform FIND

Post by moderator »

Hi Erin

Have you tried to reproduce the problem with 4.4.1 as I think this will fix the problem. You are welcome to download the new version from our web site. Just click on the "Download" link at the top of the page.

Does the find stop on a certain file/s?

I hope that helps.

Kind Regards

Heidi-Marie
Erin

Re: Not enough memory to perform FIND

Post by Erin »

Heidi,

Thanks for your response! I did download 4.4.1, but I think I've figured out the problem. The files that I am searching are spooled SQL (stored procedures) on SQL Server 2000. In the past, when generating the SQL, I always set the option for "Windows Text (ANSI)". However, the files that I'm currently searching are from another project, and many of those were spooled using "International text (Unicode)".

Could this be the reason for the TextPad error message?

Thanks,
Erin
moderator

Re: Not enough memory to perform FIND

Post by moderator »

Hi Erin

Does 4.4.1 fix the problem?

Can you send the file in to support@textpad.com, so I can look into this. It may be caused by unusual EOL characters in your unicode file.

Cheers

Heidi-Marie
Erin

Re: Not enough memory to perform FIND

Post by Erin »

Heidi-Marie,

Sorry, 4.4.1 didn't solve the issue. I'm afraid I cannot send in the files, as they are proprietary, but I've found another workaround.

Thank you for your help!
Regards,
Erin
Tom Kelleher

Re: Not enough memory to perform FIND

Post by Tom Kelleher »

Thanks for your discussion on the above, folks!

It solved the problem for me. I looked and found ONE file deep in my subdirectory tree was set to unicode, and had a "file type" property of "unknown". I did a "Save As..." to ANSI, and the searches started working again.
viacoboni
Posts: 1
Joined: Wed Sep 03, 2003 1:06 pm

Unicode files are the problem

Post by viacoboni »

I got the same out of memory errors until I removed all Unicode files in the tree. Thanks for the tip guys.
Post Reply