Menu

Max line length and crash

2008-04-02
2012-11-13
  • David Trussell

    David Trussell - 2008-04-02

    I just tried to open a file that had 1 line that was 24K long. The file was mootools.js.
    NP++ crashed. I've seen in other posts where there is a 4K line length limit. Is this true? Is there any way to fix/change that? It would be nice if an error message came up that stated that the maximum line length had been exceeded instead of just crashing.

    Dave

     
    • David Trussell

      David Trussell - 2008-07-27

      > Just saying "it sucks" does not help us, neither for the community.
      > If you really want to help us, download the zipped release, test it,
      > and let us know if it crashes again.

      You're right, of course. I apologize.

      Your version of the file worked just fine. I'll look into it further and try and find out why the difference in files.

      Again, humblest apologies.

      Dave

       
    • David Trussell

      David Trussell - 2008-04-03

      Start->Programs->Notepad++->Uninstall

      Sigh.

      Right click->Open with jEdit

      Heavy sigh.

       
    • David111

      David111 - 2008-06-17

      I just discovered this in 4.9.5 and 5.0 beta.  The limit is actually 64MB (65536 bytes).  I'm amazed.

      Also, once I added more than that limit, the characters started printing on top of each other.

      I had to open MS Notepad (!!!) and chop up the line.

      Is there any plan to fix this?  It seems ludicrous that an app is brought to its knees because it's fed just 64MB of data....

       
      • David111

        David111 - 2008-06-17

        Correction - I meant 64KB.

         
    • David Trussell

      David Trussell - 2008-07-22

      After uninstalling NP++ in April, I just thought I'd check it out again. Ooooooo. 5.0.2!

      Installed and gave it the ol' line-length test on mootools.js. Immediate crash. The first and only file I opened with NP++ 5.0.2. Uninstalled immediately.

      Ya know, I've never bad-mouthed open source stuff because the authors usually put their heart and soul into it and the programs are great. And besides, who am I? I didn't put any effort into it and I'm using it free of charge. But this behavior really sucks. Big time.

      Dave

       
      • Don HO

        Don HO - 2008-07-22

        > Ya know, I've never bad-mouthed open source stuff because the authors usually
        > put their heart and soul into it and the programs are great.
        > And besides, who am I? I didn't put any effort into it and I'm using it free of charge.
        > But this behavior really sucks. Big time.

        Tested under v5.0.2 with the mootools-1.2-core-yc.js :
        http://mootools.net/downloads/mootools-1.2-core-yc.js

        Work great for me.

        Just saying "it sucks" does not help us, neither for the community.
        If you really want to help us, download the zipped release, test it, and let us know if it crashes again.

        Don

         
MongoDB Logo MongoDB