Menu

Big Files?

2008-01-29
2012-11-13
  • Nobody/Anonymous

    Hello,

    I try to open a big logfile (1 GB, 700 MB) with Notepad++ and the program crashes.
    What's the biggist size of a file that Notepad++ can open?

     
    • Nobody/Anonymous

      I dont think anyone knows, buts it probably limited to the amount of Virtual memory your system has (incl. RAM). Because of the styling Scintilla needs atleast twice the amount of memory than the filesize, but its probably more (drawing etc.)

       
      • Nobody/Anonymous

        Hi,
             I'm a big fan of Notepad++, and I use it all the time.  But as you found out, it doesn't handle excessively large text files very well (nor do most text editors).  For very large text files, like the ones you described, I usually use a program called "Large Text File Viewer".  The latest version is 4.1 and you can download it here for free (but it does not appear to be open source):

        http://www.swiftgear.com/ltfviewer/features.html

             It seems to work by only loading a portion of the text file into memory at a given time.  It's not a very well-polished program, but it does what it is designed to do (read and search large text files) very well in my experience.  Hope this helps.  If anyone has a better suggestion for viewing large text files, I'd love to hear about it.  Thanks.

        -JP

         
        • Nobody/Anonymous

          The latest release of WinVi is of a little more recent date (2006) than lftviewer (2005). The latest WinVi beta is of a recent date (2007).
          http://www.winvi.de/en

          It has been mentioned before:
          http://sourceforge.net/forum/forum.php?thread_id=1705714&forum_id=331753

           
          • Joe in Minneapolis

            Idea:  From what I've seen of apps that can open very large text files is that they're all (that I've encountered) "viewers", not editors.  I'm speculating here, but if N++ had an Open Read-Only option (does it?), would that solve the issue?

            I continue to speculate by proposing that for N++ to function as an editor, it has to read the open file into memory, so that it can leave the file on disk in its current state.  But if it were doing a direct read from the disk via read-only, theoretically it wouldn't have to read it all into memory, thereby alleviating the issue.

            Anyone have any experience?

            Thanks!

            Joe

             
    • Nobody/Anonymous

      Thank you for the answer. :-)

       
    • Nobody/Anonymous

      I've just opened and searched thru' a 52MB text file