# Memory error when working with KB of data when I have GB free

**URL:** <https://discourse.slicer.org/t/memory-error-when-working-with-kb-of-data-when-i-have-gb-free/30101>\
**Category:** Support\
**Created:** [June 18, 2023, 12:33pm UTC](https://discourse.slicer.org/t/memory-error-when-working-with-kb-of-data-when-i-have-gb-free/30101 "2023-06-18T12:33:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LostStudent](https://avatars.discourse-cdn.com/v4/letter/l/4491bb/32.png) [@LostStudent](https://discourse.slicer.org/u/LostStudent)\
**Post date:** [June 18, 2023, 12:33pm UTC](https://discourse.slicer.org/t/memory-error-when-working-with-kb-of-data-when-i-have-gb-free/30101/1 "2023-06-18T12:33:27Z")

</div>

I have been trying to use the markups-\> cloze function feature to analyze a JPG that is only ~5 kb of size and I have ~32 GB of free memory on my computer. 3D slicer continually bottle necks my PC taking all 32 GB when I try and add the 3rd or 4th closed curve. It sits at 99% memory usage until the application crashes. The CPU also climbs to 50% usage during the crash. I have tried to update my GPU and CPU as well as clear more GB of data from my PC. The exception thrown in event it gives is BAD ALLOCATION. I grew up very rural and I am horrid with computers. Do I just need more RAM? The file size is so small compared to the amount of free memory? If anyone has any suggestions, please help! 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:** [June 18, 2023, 12:35pm UTC](https://discourse.slicer.org/t/memory-error-when-working-with-kb-of-data-when-i-have-gb-free/30101/2 "2023-06-18T12:35:29Z")

</div>

What is the volume size in voxels?  
Do you convert it to grayscale?  
What do you mean by “markups-\> cloze function feature”?  
What kind of processing or analysis would you like to do with the image?
