# SlicerFreeSurfer runs out of memory to load wmparc.mgz

**URL:** <https://discourse.slicer.org/t/slicerfreesurfer-runs-out-of-memory-to-load-wmparc-mgz/42608>\
**Category:** Support\
**Tags:** freesurfer\
**Created:** [April 17, 2025, 6:47pm UTC](https://discourse.slicer.org/t/slicerfreesurfer-runs-out-of-memory-to-load-wmparc-mgz/42608 "2025-04-17T18:47:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbillah](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/tbillah/32/4139_2.png) [@tbillah](https://discourse.slicer.org/u/tbillah)\
**Post date:** [April 17, 2025, 6:47pm UTC](https://discourse.slicer.org/t/slicerfreesurfer-runs-out-of-memory-to-load-wmparc-mgz/42608/1 "2025-04-17T18:47:58Z")

</div>

Slicer-5.6.1

@pieper asked us to use SlicerFreeSurfer extension. We installed it. But when trying to load a `wmparc.mgz` file, we get the following:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/d/ed7c1f4371a659c1096d9e8bed6576f9358cbfb3.png)

Console error is:

> Slicer has caught an application error, please save your work and restart.\n\nThe application has run out of memory. Increasing swap size in system settings or adding more RAM may fix this issue.\n\nIf you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at [https://slicer.org](https://slicer.org)\n\n\nThe message detail is:\n\nException thrown in event: std::bad\_alloc

But the `wmparc.mgz` loads fine in a fresh Slicer-5.6.1 where there is no SlicerFreeSurfer extension.

Please advise.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [April 17, 2025, 8:05pm UTC](https://discourse.slicer.org/t/slicerfreesurfer-runs-out-of-memory-to-load-wmparc-mgz/42608/2 "2025-04-17T20:05:30Z")

</div>

@tbillah please report this on the extension’s github issues. Include a link to this tread too.
