Community
    • Login

    Cannot open large file 600MB 32bit

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 3 Posters 857 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TonyPT
      TonyP
      last edited by

      cannot open txt/sql file 600Megs in length in 32 bit. Is there a problem with large file? what is the size limits for 32bit/64bit?

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @TonyP
        last edited by

        @TonyP

        Opening such large files, especially with highlighting enabled, is not really fun. On x86 I was not able to open files larger than ~500Mb too, while on x64 I am able to open > 1GB, but only if I treat them as text files (no highlighting).

        1 Reply Last reply Reply Quote 1
        • TonyPT
          TonyP
          last edited by

          furthur digging, reinstalled npp 8.1.1 x86, no other plugins.
          npp was able to open file, but when i have npp to save session, i closed npp and reopen it gives error cannot open file to large and removes file from tabs.

          PeterJonesP 1 Reply Last reply Reply Quote 0
          • PeterJonesP
            PeterJones @TonyP
            last edited by

            @TonyP said in Cannot open large file 600MB 32bit:

            npp was able to open file, but when i have npp to save session, i closed npp and reopen it gives error cannot open file to large and removes file from tabs.

            That says that it is a memory issue – that you didn’t have enough system memory to allocate enough for NPP to open the file. So the first time you opened it, you had enough memory (maybe because of order of operations in NPP, or because you had fewer other processes using memory), but when you exited and then re-ran NPP, your system no longer had enough memory to allocate to NPP.

            Notepad++ is not actually optimized for huge-file editing – to be truly optimized for such, an editor would required “paged” editing, where it just loads part of the file from disk at a time, and if you move beyond the chunk, then it will clear the buffer and load a new chunk from the disk. To add that feature to Notepad++ would require a complete re-write, so isn’t going to happen.
            However, if you Iook at this post, there’s a link to the “BigFiles” plugin, which gives paged access to files that are too big to be effectively edited in Notepad++. But as another recent discussion shows, there are drawbacks to the BigFiles Plugin method of editing big files, too.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors