# Slicer constantly crashing, sometimes during save. 

**URL:** <https://discourse.slicer.org/t/slicer-constantly-crashing-sometimes-during-save/10725>\
**Category:** Support\
**Created:** [March 18, 2020, 2:09am UTC](https://discourse.slicer.org/t/slicer-constantly-crashing-sometimes-during-save/10725 "2020-03-18T02:09:02Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexjamesmajor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/alexjamesmajor/32/8627_2.png) [@alexjamesmajor](https://discourse.slicer.org/u/alexjamesmajor)\
**Post date:** [March 18, 2020, 2:09am UTC](https://discourse.slicer.org/t/slicer-constantly-crashing-sometimes-during-save/10725/1 "2020-03-18T02:09:02Z")

</div>

Slicer constantly crashing, sometimes during save. Sometimes, depsite a non-crash save, saved file will not load. I’ve attached two error messages that occurred during my attempt to load:

Info: In D:\D\P\Slicer-0\Libs\MRML\Logic\vtkArchive.cxx, line 35

vtkArchive Error: Unzip error: Inconsistent uncompressed size: 0 in central directory, 282334 in local header Error

Info: In D:\D\P\Slicer-0\Libs\MRML\Logic\vtkArchive.cxx, line 35

vtkArchive Error: Unzip error: Truncated ZIP file data Error

…

could not find mrml file in archive

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 18, 2020, 2:13am UTC](https://discourse.slicer.org/t/slicer-constantly-crashing-sometimes-during-save/10725/2 "2020-03-18T02:13:02Z")

</div>

Thousands of users test Slicer very extensively and we are not aware of any issues that would cause Slicer to crash - other than when you run out of memory.

Make sure the available memory (physical RAM + virtual memory size that you set in your system settings) is at least 10x larger than the size of the data set you load.

---

<div class="post-metadata">

**Author:** ![alexjamesmajor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/alexjamesmajor/32/8627_2.png) [@alexjamesmajor](https://discourse.slicer.org/u/alexjamesmajor)\
**Post date:** [March 18, 2020, 7:24pm UTC](https://discourse.slicer.org/t/slicer-constantly-crashing-sometimes-during-save/10725/3 "2020-03-18T19:24:37Z")

</div>

Hi Andras,

Thanks for your quick reply. I am currently working with 128 GB RAM on a ~50 MB file. Virtual memory is automatically set, currently ~20 GB. Working in Slicer v 4.11.0-2020-03-15 (I was having more problems with v4.10).

I changed the Settings\>Cache settings to 10,000 MB Cache size and 200 MB Cache free buffer. Changing this seemed to reduce crashing during saving of files.

However, I’m still having this issue: I will save a file, Close Scene, and attempt to Load that .mrb, and nothing will load. I will get the following three error messages:

(1) Debug Qt  
Unpacking bundle “C:/Users/Alex James Major/Documents/SlicerSavedFiles/Lucky/Lucky\_02252020\_V4 Origin\_laminar locations\_rotated back to stereotax\_specific areas\_2.mrb” to “C:/Users/Alex James Major/AppData/Local/Temp/\_\_BundleLoadTemp2020-03-18\_15+21+16.480”

(2) Info VTK  
Info: In D:\D\P\Slicer-0\Libs\MRML\Logic\vtkArchive.cxx, line 35  
vtkArchive Error: Unzip error: Inconsistent uncompressed size: 0 in central directory, 312279 in local header Error

Info: In D:\D\P\Slicer-0\Libs\MRML\Logic\vtkArchive.cxx, line 35  
vtkArchive Error: Unzip error: Truncated ZIP file data Error

(3) Error VTK  
could not find mrml file in archive

Any information on how to proceed would be greatly appreciated. Do I need to adjust “GPU memory size”?

Thanks for your time,

Alex

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 18, 2020, 7:44pm UTC](https://discourse.slicer.org/t/slicer-constantly-crashing-sometimes-during-save/10725/4 "2020-03-18T19:44:28Z")

</div>

Can you share an mrb file that you cannot load (upload somewhere and post the link here)?

---

<div class="post-metadata">

**Author:** ![alexjamesmajor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/alexjamesmajor/32/8627_2.png) [@alexjamesmajor](https://discourse.slicer.org/u/alexjamesmajor)\
**Post date:** [March 18, 2020, 8:02pm UTC](https://discourse.slicer.org/t/slicer-constantly-crashing-sometimes-during-save/10725/5 "2020-03-18T20:02:28Z")

</div>

> **[easyupload.io](https://easyupload.io/3ngco5)**
>
> easyupload.io

password: slicer

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 18, 2020, 10:07pm UTC](https://discourse.slicer.org/t/slicer-constantly-crashing-sometimes-during-save/10725/6 "2020-03-18T22:07:45Z")

</div>

The file is corrupted (cannot even be unzipped).

Did you try to save the mrb file to a network drive, external drive, or some other special storage space?

Do you have plenty of space in your temporary folder (menu: Edit / Application settings / Modules / Temporary directory)?

---

<div class="post-metadata">

**Author:** ![alexjamesmajor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/alexjamesmajor/32/8627_2.png) [@alexjamesmajor](https://discourse.slicer.org/u/alexjamesmajor)\
**Post date:** [March 18, 2020, 10:45pm UTC](https://discourse.slicer.org/t/slicer-constantly-crashing-sometimes-during-save/10725/7 "2020-03-18T22:45:05Z")

</div>

I’m saving to a folder in my C drive, which has over 220 GB of space. Temporary directory is also in C drive.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 18, 2020, 10:56pm UTC](https://discourse.slicer.org/t/slicer-constantly-crashing-sometimes-during-save/10725/8 "2020-03-18T22:56:19Z")

</div>

Can you reproduce the problem? Can you describe those steps?

---

<div class="post-metadata">

**Author:** ![alexjamesmajor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/alexjamesmajor/32/8627_2.png) [@alexjamesmajor](https://discourse.slicer.org/u/alexjamesmajor)\
**Post date:** [March 18, 2020, 11:08pm UTC](https://discourse.slicer.org/t/slicer-constantly-crashing-sometimes-during-save/10725/9 "2020-03-18T23:08:48Z")

</div>

The next time this problem occurs I will try to copy/paste the log messages during the save. Thanks.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 18, 2020, 11:09pm UTC](https://discourse.slicer.org/t/slicer-constantly-crashing-sometimes-during-save/10725/10 "2020-03-18T23:09:42Z")

</div>

You can find logs of the last 10 sessions in menu: Help / Report a bug.

---

<div class="post-metadata">

**Author:** ![alexjamesmajor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/alexjamesmajor/32/8627_2.png) [@alexjamesmajor](https://discourse.slicer.org/u/alexjamesmajor)\
**Post date:** [October 27, 2020, 6:43pm UTC](https://discourse.slicer.org/t/slicer-constantly-crashing-sometimes-during-save/10725/11 "2020-10-27T18:43:33Z")

</div>

Hi Andras,

Thank you for your help, this issue is resolved.

Alex
