Find in Files problem "not enough memory for that opera

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
ccollins
Posts: 10
Joined: Thu Feb 28, 2008 2:54 pm
Location: Ohio USA

Find in Files problem "not enough memory for that opera

Post by ccollins »

When I do "Find in Files", I am getting the message "not enough memory for that operation". Up until several months ago, I never had trouble with this. The problem occurs when I search files with the extension *.sql. Other files work fine. I have 2 GB memory and the largest file I search is 346 KB. I've had this problem with a couple versions of TextPad. I am now using 5.1.0. It seems like I started having this problem when I upgraded to SQL Server 2005. SS stores files in Unicode by default and i wonder if Textpad has difficulty switching between ASCII and Unicode when searching.

Any advice?
User avatar
helios
Posts: 710
Joined: Sun Mar 02, 2003 5:52 pm
Location: Helios Software Solutions
Contact:

Post by helios »

This could be an erroneous error message that gets issued when TextPad thinks the files contain Unicode characters that cannot be represented in the code page corresponding to the font script selected for the Search Results Document Class. If they really are Unicode files, try setting the font script to something appropriate to the language they contain:

Configure/Preferences/Document Classes/Search Results/Font

I hope this helps.
Helios Software Solutions
ccollins
Posts: 10
Joined: Thu Feb 28, 2008 2:54 pm
Location: Ohio USA

maybe not textpad

Post by ccollins »

I knew some Unicode files were being searched. I ran the search again but searched for "e" knowing that "e" is probably in every file. Since Textpad searches in order alphabetically, I could narrow down the file causing problems down to two: either the last file searched or the next one. I tried to move these two files out of the search path to see if I could then complete the search. The OS would not let me move the two files but I could delete them. Now I can perform the search. Maybe one of the files was corrupt.
fredwebs
Posts: 1
Joined: Thu Mar 06, 2008 3:28 pm
Location: Atlanta, Georgia, USA
Contact:

Post by fredwebs »

I also am getting the not enough memory error when using find in files and searching Unicode files created by Sql Server 2005 Management Studio. I tried changing the search results font to Lucida Sas Unicode, but this did not help. The folder I was searching had three of these Unicode files from Management Studio, but only one was causing the error. This file loads and displays just fine in Textpad.

I often use this feature to search through folders many levels deep, this error will now prevent me from searching any path that has one of these files. I would be glad to provide the file.

Also I have to say after using Textpad for about ten years now, this is first problem I have been compelled to post in the forum. If only my software worked that well!
Fred Peters
Post Reply