Maximum text file size to open in TextPad

General questions about using TextPad

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

Post Reply
User avatar
ineuw
Posts: 191
Joined: Sun Mar 18, 2007 3:23 pm

Maximum text file size to open in TextPad

Post by ineuw »

I generated a text file of nearly 3GB in size. Textpad reported that the disk is full, when in fact there is 26GB of empty unfragmented space on the drive. Have I exceeded Texpad's limit? Is there any way I can look at the content of this file?

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

Post by helios »

The theoretical limit for the size of file that can be opened in TextPad, is 2.1 gigabytes, and then only if that amount of contiguous virtual memory is available.
Helios Software Solutions
r4v3n
Posts: 2
Joined: Thu Jul 03, 2008 7:49 am

Post by r4v3n »

I open up a 250MB file on my Windows 2008 x64 with 8GB RAM (40% used) and I get this when I press ctrl+f:
Cannot find literal string 'OutOfMemory'

Any ideas?

Cheers
Niklas
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

What happens if you just hit F5? I suspect your previous search was for "OutOfMemory" and hitting Ctrl-F (search again/find next) continued that search but found no results in the current file.
I choose to fight with a sack of angry cats.
User avatar
ineuw
Posts: 191
Joined: Sun Mar 18, 2007 3:23 pm

Post by ineuw »

talleyrand wrote:What happens if you just hit F5? I suspect your previous search was for "OutOfMemory" and hitting Ctrl-F (search again/find next) continued that search but found no results in the current file.
Ctrl+F? F5? I suspect that keyboard selected layouts in Preferences are not the same. Talleyrand is using the Textpad keyboard layout and r4v3n is using the Microsoft applications keyboard layout.

Aside from this: I created a 350MB text file to test this problem and Ctrl+F works fine, and I only have 2GB RAM. The problem is not with the memory or the file size.

Try Ctrl+End to go to the end of the file and then Ctrl+Home to return to the beginning and see if that works. Then try Ctrl+F (Search).
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

Close out all instances of TextPad. Open TextPad, open desired file. Click Search. The only option available is Find which is by default mapped to F5 but that's immaterial. Type in TheWorldIsComingToAnEnd or any other nonsense. Clicking Find Next will create a pop up

---------------------------
TextPad
---------------------------
Cannot find literal string:
'TheWorldIsComingToAnEnd'
---------------------------
OK
---------------------------


Now, if you look at the Search menu, Find Next remains greyed out. If the search is repeated for an item that does exist in the file, the Find Next will be enabled. Do that. Close that file and open a file that you know does not contain that search term. Repeating the Find Next will kick up the Cannot find dialog.

So, that is why I said I believe they had previously searched for 'OutOfMemory' and that term does not exist in the current file. I believe this is just a matter of understanding the contents of the dialog vs TextPad being out of memory during a search.
I choose to fight with a sack of angry cats.
Post Reply