• Login
Community
  • Login

Text limit

Scheduled Pinned Locked Moved General Discussion
16 Posts 6 Posters 11.8k 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.
  • T
    Terry R
    last edited by Jan 16, 2019, 7:48 PM

    @Michael-Haigh @Peter-Jones
    there is an old posting here that @Claudia-Frank penned stating scintilla has a maximum of 2GB. This doesn’t mean 2GB is achievable as there are other factors such as the environment and overheads. The article is:
    https://notepad-plus-plus.org/community/topic/15019/problem-error-file-too-big-to-be-opened/11

    I also seem to recall mention of the complexity of edits (and the need to be able to undo them) also plays a part on the maximum available.

    Terry

    1 Reply Last reply Reply Quote 3
    • M
      Michael Haigh
      last edited by Jan 16, 2019, 7:50 PM

      If this means anything

      ideapad 310-15ABR Processor AMD A10-9600P RADEON R5, 10 COMPUTE CORES 4C+6G 2.40 GHz 8.00 gb (7.39 usable) 64-bit OS

      1 Reply Last reply Reply Quote 0
      • M
        Meta Chuh moderator @Michael Haigh
        last edited by Meta Chuh Jan 16, 2019, 7:56 PM Jan 16, 2019, 7:51 PM

        welcome to the notepad++ community @Michael-Haigh

        technically you should be able to open up to 512mb (524mb) files in a 32 bit notepad++, but there have been reports on not being able to open files of a size from 320mb and above under heavy memory usage of other opened files or present plugins as mentioned by @Terry-R.
        example: https://notepad-plus-plus.org/community/topic/10592/what-is-the-notepad-file-size-limit

        the x64 limit is however 2gb due to scintilla as @Eko-palypse has mentioned

        1 Reply Last reply Reply Quote 2
        • P
          PeterJones
          last edited by PeterJones Jan 16, 2019, 7:58 PM Jan 16, 2019, 7:56 PM

          For those that are curious, the 2Gb and 9⨯10^18 byte limits for 32-bit and 64-bit come from the fact that the file pointers are 32bit or 64bit integers. Thus, there are 2^32 and 2^64 distinct integers; but because they are implemented (on the filesystem side) as signed integers, and negatives are all relegated to “not applicable to files”, it yields 2^31=2Gb for a 32-bit system, and 2^63=9⨯10^18 bytes for a 64-bit system.

          update: sorry, this was started before the most recent posts appeared. Are you saying that 64-bit Scintilla is still limited to 2Gb? Weird.

          update2: yep, that thread confirmed 64bit scintilla still limited to 2Gb.

          1 Reply Last reply Reply Quote 3
          • M
            Meta Chuh moderator
            last edited by Jan 16, 2019, 8:00 PM

            btw:
            wow, what just happened ? we all came out of nowhere, like piranhas, instantly and simultaneously devouring the same question 😂😂😂👍

            E 1 Reply Last reply Jan 16, 2019, 8:03 PM Reply Quote 2
            • E
              Eko palypse
              last edited by Jan 16, 2019, 8:01 PM

              The version notepad++ uses - yes, but that is a buffer limit.
              You can have multiple files with 2GB if you are running a 64bit Npp and
              have enough coffee and cake to wait to get a slot for doing something ;-)

              1 Reply Last reply Reply Quote 2
              • E
                Eko palypse @Meta Chuh
                last edited by Jan 16, 2019, 8:03 PM

                @Meta-Chuh

                is THIS A DUCATI MONSTER ???

                M 1 Reply Last reply Jan 16, 2019, 8:16 PM Reply Quote 1
                • M
                  Michael Haigh
                  last edited by Jan 16, 2019, 8:12 PM

                  Thank for your kind welcome and response. It looks like I have plenty room yet and it should do what I require. It’s a remarkable editor. I have had a number of crashes (after W10 updates) and find basic Notepad far more reliable for saving (and back up using basic Notepad).

                  M 1 Reply Last reply Jan 16, 2019, 9:00 PM Reply Quote 2
                  • M
                    Meta Chuh moderator @Eko palypse
                    last edited by Meta Chuh Jan 16, 2019, 11:32 PM Jan 16, 2019, 8:16 PM

                    @Eko-palypse
                    no it was a ducati street fighter 1099 back then, but i’ve changed to the hypermotard 796 because it’s more comfortable, more drivable for every day use, more agile and the lightest 803cc supermoto ever built in large scale series.

                    @PeterJones and @Michael-Haigh
                    edit to my post: technically you should be able to open up to 512mb (524mb) files in a 32 bit notepad++ as @PeterJones mentioned above.
                    (sorry, i had to read from the bottom up and i was too late to edit my post and mention @PeterJones previous post, already containing the same information)

                    1 Reply Last reply Reply Quote 2
                    • M
                      Meta Chuh moderator @Michael Haigh
                      last edited by Jan 16, 2019, 9:00 PM

                      @Michael-Haigh
                      if you mention crashes on notepad++ with the latest windows 10 updates:

                      if you aren’t on notepad++7.6.2 already, please download the latest 7.6.2 portable version from here ,
                      (the portable version can reside simultaneously and does not get in conflict with your installed version. any changes made in the portable version will not reflect or change anything in your regular notepad++)

                      extract it to your desktop, open the extracted folder and run notepad++.exe inside it
                      open the files, which you remember were open when a crash occurred, and test if it happens again.
                      if it does not, we know that a vanilla notepad++ will not behave the same and we can start looking at your installed version and it’s plugins to provide a solution.

                      if it still does crash on you, and you have opened some files on a network drive that could be the trigger, please copy them to your local disk and retest them.

                      for any further questions regarding your crashing issue, feel free to post them here without opening another thread, as these notepad++ crashes seemed to be the reason why you asked about the file size limit of notepad++ in the first place

                      1 Reply Last reply Reply Quote 2
                      • C
                        chcg
                        last edited by Jan 18, 2019, 6:40 PM

                        See https://www.scintilla.org/ScintillaHistory.html Release 3.6.0

                        • Report error when attempt to resize buffer to more than 2GB with SC_STATUS_FAILURE.

                        Also N++ uses 3.5.6 i guess that version also has this limit. At least if it should work stable.

                        For 32bit there was a not accepted PR https://github.com/notepad-plus-plus/notepad-plus-plus/pull/891 to use PAE to extend the limit for the overall mem usage.

                        M 1 Reply Last reply Jan 18, 2019, 7:16 PM Reply Quote 2
                        • E
                          Eko palypse
                          last edited by Jan 18, 2019, 6:46 PM

                          … and recent scintilla versions can use even more.

                          1 Reply Last reply Reply Quote 2
                          • M
                            Meta Chuh moderator @chcg
                            last edited by Jan 18, 2019, 7:16 PM

                            btw @chcg :
                            (a little off topic, but i’ll wrap it as text limit ;-) )

                            did you or @donho have time to take a closer look at the UCharDet 0.0.6 implementation issue ?

                            i’ve tested UCharDet 0.0.6 separately and it detects all test samples correctly, and i can’t find out why, nor understand where the (pretty same) code behaves differently, when implemented into notepad++.

                            (side note, if it might be something to look at: quite a few users reported, that once detected falsely, you can’t hit “encode in utf-8”, as the bullet jumps right back to the language in “character sets” it has been falsely marked with. you can, however, select “convert to utf-8” and the bullet will stay there. i’ve been able to reproduce this every time)

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