You are here: PSPad forum > English discussion forum > Cannot open large text files (350MB+)

Cannot open large text files (350MB+)

Goto Page: 1 2 Next

#1 Cannot open large text files (350MB+)

Posted by: pspadme | Date: 06/09/2009 18:15 | IP: IP Logged

Hello,

I have run into a couple instances where PSPad cannot open a file. The only error I recieve is: Cannot open file xxxx.xxx. Yet surprisingly enough Notepad is able to open it.

File size: 406,448KB (396MB)

I am running Vista x64, with 6 GB of RAM.

This shoudln't be a virtual address space issue as x64 has 8 TB of VAS for user mode applicaitons.

Any thoughts?

Options: Reply | Quote | Up ^


#2 Re: Cannot open large text files (350MB+)

Posted by: pspad | Date: 06/09/2009 18:32 | IP: IP Logged

Notepad is 64bits application
PSPad is 32bits application. Each 32bits application gets maximum of 2GB memory

Options: Reply | Quote | Up ^


#3 Re: Cannot open large text files (350MB+)

Posted by: pspadme | Date: 06/09/2009 19:20 | IP: IP Logged

True, but when running under WOW, 32 bit applications have a 4 GB VAS space.

Even if we double 350mb to 650mb, there should be sufficient memory in pspad.exe user modes VAS to load this file directly into memory.

Or is there something I'm missing?

Options: Reply | Quote | Up ^


#4 Re: Cannot open large text files (350MB+)

Posted by: carbonize | Date: 06/13/2009 20:49 | IP: IP Logged

^^ Smells like spam

--
Carbonize

Options: Reply | Quote | Up ^


#5 Re: Cannot open large text files (350MB+)

Posted by: pspad | Date: 06/13/2009 22:01 | IP: IP Logged

carbonize:
^^ Smells like spam

You are right. His second contribution was much more spam like. User was deactivated.

Options: Reply | Quote | Up ^


#6 Re: Cannot open large text files (350MB+)

Posted by: Charcoal | Date: 07/08/2009 16:20 | IP: IP Logged

There was nothing SPAMish, SPAMlike, or SPAM sounding from my perfectly valid question. Not to mention, I asked if there was something I may have missed.

In case you're not aware applications running on x64 have a 4 GB VAS space, not 2 GB.

The fact that both of you were so quick to be judge, jury and executioner is rather alarming.

If this is the kind of support that you offer, what a joke. I have always greatly enjoyed this program and the people who contributed to it until I got a response from you two.

I will switch back to UltraEdit, pay the cost for the program, just out of spite because of you two.

Hopefully in the future you'll get some decency and think before you react.

Don't bother deactivating this account, I'll take care of it myself.

Options: Reply | Quote | Up ^


#7 Re: Cannot open large text files (350MB+)

Posted by: Viktor | Date: 10/13/2010 08:35 | IP: IP Logged

I can deal with PSPad with files under 100MB. Are there any thoughts to increase the limit? Ideally I need to open files up to 1GB.

Options: Reply | Quote | Up ^


#8 Re: Cannot open large text files (350MB+)

Posted by: pspad | Date: 10/13/2010 20:14 | IP: IP Logged

Viktor:
I can deal with PSPad with files under 100MB. Are there any thoughts to increase the limit? Ideally I need to open files up to 1GB.

It isn't possible witthout rewriting whole PSPad.
PSpad loads whole file into memory. Win32 application has 2GB limit for yourself. Coz PSPad works in unicode, it needs 2 bytes per char + some memory for yourself.

Yo ureally need to edit 1GB files or you want to view it only?

Options: Reply | Quote | Up ^


#9 Re: Cannot open large text files (350MB+)

Posted by: widdi | Date: 07/14/2011 07:06 | IP: IP Logged

Hello,

same procedure here.

I have different files (some have 80 cols, some 1500 cols). I can't image why one file could not be opened, that is 165MB, other file 220MB. Then I found a third file of 180MB that will be opened by PSPad.
If I will follow your post, it must be irrelevant, if the file has 100cols/2lines or 4cols/50lines. The file stores both ways 200 character-values and needs 400 bytes in RAM.

But this interpretation won't work. The difference of the files is too big in my eyes. The justification of “2GB limit” will not work also, if trying opening files much smaller than 1 GB. e.g. 150 MB * 2 = 300 MB... there are 1,7GB "space" to reach the 2 GB-restriction. How much RAM uses the application itself? :-o

The other side: Ultra Edit is able to open and handle files larger that 5 GB. It takes time to scroll – but it will work.

Is there any plan to resize the restrictions ("rewriting PSPad")? In that way the editor is impracticable to use and work with large textfiles.

Edited 1 time(s). Last edit at 07/14/2011 07:12 by widdi.

Options: Reply | Quote | Up ^


#10 Re: Cannot open large text files (350MB+)

Posted by: pspad | Date: 07/14/2011 21:34 | IP: IP Logged

Ultraedit uses different technology. I don't plan to rewrite whole PSpad to be able edit big files.

Edited 1 time(s). Last edit at 07/14/2011 21:35 by pspad.

Options: Reply | Quote | Up ^


Goto Page: 1 2 Next





Editor PSPad - freeware editor, © 2001 - 2013 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák