• Login
Community
  • Login

Delay in saving files after latest upgrade

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
8 Posts 6 Posters 1.2k 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.
  • M
    Mario Valle
    last edited by Jan 9, 2021, 5:28 AM

    Before latest upgrade (7.9.1 32bits) pushing the save icon or ctrl-S immediately saved the file and changed the tab floppy-disk icon from red to gray.

    After upgrade this takes almost 2 seconds, even for minuscule files. This happens at least with markdown and javascript files. Even launching np++ with -noPlugin exhibits the same delay.

    What happened? What could I do to investigate (and remove) this delay? Yes, it is a minuscule problem, but annoying.

    Thanks for looking!
    mario

    Notepad++ v7.9.1 (32-bit)
    Build time : Nov 2 2020 - 01:03:56
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS Name : Windows 10 Enterprise (64-bit)
    OS Version : 2009
    OS Build : 19042.685
    Current ANSI codepage : 1252
    Plugins : ComparePlugin.dll DSpellCheck.dll HexEditor.dll HTMLTag_unicode.dll MarkdownViewerPlusPlus.dll mimeTools.dll NppConverter.dll NppExec.dll NppExport.dll NppFavorites.dll NppFTP.dll NPPJSONViewer.dll NppSaveAsAdmin.dll NppTextFX.dll XMLTools.dll _CustomizeToolbar.dll

    M A P 3 Replies Last reply Jan 9, 2021, 5:43 AM Reply Quote 0
    • M
      Mario Valle @Mario Valle
      last edited by Jan 9, 2021, 5:43 AM

      It happens also with 7.9.2 64bits

      1 Reply Last reply Reply Quote 0
      • M
        mere-human
        last edited by Jan 9, 2021, 12:47 PM

        Could you provide any sample files?

        1 Reply Last reply Reply Quote 0
        • A
          Alan Kilborn @Mario Valle
          last edited by Jan 9, 2021, 12:52 PM

          @Mario-Valle said in Delay in saving files after latest upgrade:

          Plugins : ComparePlugin.dll DSpellCheck.dll HexEditor.dll HTMLTag_unicode.dll MarkdownViewerPlusPlus.dll mimeTools.dll NppConverter.dll NppExec.dll NppExport.dll NppFavorites.dll NppFTP.dll NPPJSONViewer.dll NppSaveAsAdmin.dll NppTextFX.dll XMLTools.dll _CustomizeToolbar.dll

          My comment is: HUGE plugin list! Remove all of them and add them back in one-by-one, and see if it makes a difference at any point.

          1 Reply Last reply Reply Quote 1
          • G
            guy038
            last edited by Jan 9, 2021, 2:56 PM

            Hi, @mario-valle, @alan-kilborn and All

            Alan, note, however, that @mario-valle said :

            Even launching np++ with -noPlugin exhibits the same delay.


            I didn’t notice a significant delay while saving files with my portable v7.9.2 version of Notepad++ !

            BR

            guy038

            1 Reply Last reply Reply Quote 1
            • P
              PeterJones @Mario Valle
              last edited by Jan 9, 2021, 6:44 PM

              @Mario-Valle ,

              Are you by chance accessing files on a network share – whether via their UNC path like \\machine\path\to\file or via a mapped network drive (with a fake drive letter like Z: or whatever was chosen for you)? Because I have never seen a small file take 2+ seconds to save when saving locally.

              1 Reply Last reply Reply Quote 3
              • M
                mere-human
                last edited by Jan 9, 2021, 7:18 PM

                Also, I thought that it might be when you have several hard drives.
                For example, I have a Windows with programs on a fast SSD drive and a slower HDD drive.
                When I save a file to HDD drive, it takes some time to do that. But usually, it happens only on the first access to that drive after if it went inactive.

                1 Reply Last reply Reply Quote 2
                • P
                  pnedev
                  last edited by pnedev Jan 11, 2021, 2:41 PM Jan 11, 2021, 2:39 PM

                  @Mario-Valle ,

                  To avoid a potential data corruption in case of sudden power loss, Notepad++ since version 7.9.1 writes files directly to disk on save - no operating system RAM caching is used. This ensures that your files are really safely written to disk when you save them but writing to disk is slower than writing to RAM buffer.
                  Now if your “disk” is slow in write speed then that might be the reason you are seeing such delay. By “disk” here I mean the non-volatile (persistent) media where your files are located.
                  Mapped network drives, SD cards, USB drives are examples of medias (“disks”) that are relatively slow on write.

                  1 Reply Last reply Reply Quote 5
                  • T Terry R referenced this topic on Apr 12, 2022, 10:55 PM
                  6 out of 8
                  • First post
                    6/8
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors