4
$\begingroup$

Update

Ok, I got it with reproducible example. It turns out size is not the issue, number of cells is.

First, let us programmatically generates a lot cells according to this post. Basically, 3000 cells is enough at least on my computer.

Do[Paste@Cell[BoxData@MakeBoxes@0, "Input"], 3000]

will generate 3000 cells of just 0 then save it. Now test it according to my previous procedure.

Here is another gif show

enter image description here


previous

What I will show you in below gif is that

  1. First, I was in a deep directory C:/0/1/2/3/4/5/6/7/8/9/10 with a relatively large 25.7 MB test.nb contains a lot of stuffs. Open it and press Ctrl+S, take a look at the mouse cursor, we know it freezes for more than 10 seconds.
  2. Then I copy exactly the same nb file to C:/00 do the same thing, the freezing time reduces a lot, only 1 or 2 seconds.

enter image description here

Three problems:

  1. The saving speed depends on directory structure does not make sense to me. Very weird. After all, it is not a too deep directory at all.
  2. Even saving at C:/00, the freeze is also annoying. I still have 12.2 installed, and I do not encounter any freeze when saving in 12.2 no matter where this nb file is.
  3. Any workaround? Or I have to fall back to 12.2 to work with some large nb file.
$\endgroup$
9
  • $\begingroup$ Does it happen (slowing) again when you move it back? $\endgroup$ Jul 25, 2022 at 4:58
  • 1
    $\begingroup$ @ВалерийЗаподовников You mean copy C:/00 back to deep folder? Of course! the freeze is very robust :) $\endgroup$
    – matheorem
    Jul 25, 2022 at 5:01
  • 3
    $\begingroup$ Have you reported it to the support? They at least should be informed, because the issue is important. $\endgroup$ Jul 25, 2022 at 8:32
  • $\begingroup$ @AlexeyPopkov Nope yet... I think they could see it here : ) $\endgroup$
    – matheorem
    Jul 25, 2022 at 9:12
  • 1
    $\begingroup$ I could not reproduce it (Win10). I was very interested because I have an application the generates thousands of small cells. $\endgroup$ Jul 25, 2022 at 15:04

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.