Menu

Notepad++ doesn't like insanely large files?

2008-07-01
2012-11-13
  • Daniel Martin

    Daniel Martin - 2008-07-01

    Hey all,

    Just got turned on to Notepad++ by a friend, but the first time I tried to use it (v. 5.0 downloaded 1July08, installed on XP Pro, 3GHz Pentium D, 2GB RAM), I managed to crash it.  One of the things I use a text editor for is to take an extremely large price file (*.dbf format) I get from a supplier, strip out the dbf header information, and save it as a flat text file for use in my AIX-based business system. 

    Unfortunately it's a huge file for a text editor. . .the latest version is 156 MB.  Although it takes the better part of a minute to a minute and a half to open it, I can and do edit it in either Windows Notepad or WordPad.  Notepad++ crashes and burns when it tries to open the file.

    Nothing shows in the N++RECOV folder.  Don't know what may be logged anywhere else.  Suggestions?

     
    • Harry

      Harry - 2008-07-01

      Notepad++ can consume up to two/three times the filesize when viewing the file. Anyway, Notepad++ wasnt built for files this large, its more often used on 10kb sourcefiels etc :).
      N++RECOV only stores files that were marked as changed, and since it crashes on that file alone which hasnt been changed, nothing will be saved.
      I believe for ridiculous large files there are better suited (free) editors, though its always nice if Notepad++ manages to pull it off, which sometimes is the case.

       
    • nosmoke

      nosmoke - 2008-07-02

      same problem to me too, could not open 3xx MB plain text file under Win2003 server with 4GB memory. So sad as the "Find all in all opened documents" can be very handy for my task.

      :~

      I tried a lot of other freeware and so far still not impressed by any. Do you guys has any free text editor to recommend ?

       
      • Richard

        Richard - 2008-07-02

        To work with very large text files you might take a look at OpenEditor, yet another free editor available on the net. You can find it in www.sqltools.net.

        OpenEditor can handle extremely large text files, as it doesn't suck the whole file into RAM, but only reads as much as it needs to allow editing. You have to switch on the "Memory Mapped" option.

        I successfully used it for files larger than 500 MB.

        Apart from being able to handle large files it has a very interesting "Column Edit Mode". Unfortunately it doesn't support macros, which is a show stopper for me.

        Nevertheless, as it is very useful especially for large files, I keep both OpenEditor and Notepad++ installed on my PC.

         
        • DV

          DV - 2008-07-02

          Indeed, OpenEditor is good with large files - much better than UltraEdit, by the way.