# Out of memory Error

**URL:** <https://forum.universal-robots.com/t/out-of-memory-error/10159>\
**Category:** URCap Development\
**Tags:** memory-error\
**Created:** [November 20, 2020, 1:07pm UTC](https://forum.universal-robots.com/t/out-of-memory-error/10159 "2020-11-20T13:07:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![martin.huetter](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@martin.huetter](https://forum.universal-robots.com/u/martin.huetter)\
**Post date:** [November 20, 2020, 1:07pm UTC](https://forum.universal-robots.com/t/out-of-memory-error/10159/1 "2020-11-20T13:07:11Z")

</div>

![Fehler_new2](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/3/32f8a9e40159bc500e097f0541bc2fb63709b9bc.jpeg)

Hello

I have two mainly used programs with different installations (only differences are the names of the digital outs and soma variables) on my UR16e.

And sometimes when I switch from one program to the other the attached error message is shown.

---

<div class="post-metadata">

**Author:** ![Ebbe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/ebbe/32/1413_2.png) [@Ebbe](https://forum.universal-robots.com/u/Ebbe)\
**Post date:** [November 23, 2020, 10:02am UTC](https://forum.universal-robots.com/t/out-of-memory-error/10159/2 "2020-11-23T10:02:37Z")

</div>

Hi @martin.huetter,

Do you have any additional URCaps installed?

Can you provide a flight record?

Ebbe

---

<div class="post-metadata">

**Author:** ![mpa](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@mpa](https://forum.universal-robots.com/u/mpa)\
**Post date:** [November 26, 2020, 3:01pm UTC](https://forum.universal-robots.com/t/out-of-memory-error/10159/3 "2020-11-26T15:01:07Z")

</div>

Hi @martin.huetter,

Would you be able to collect some additional files from the robot? It would greatly help us narrow down where the problem is.  
If you could log into the robot’s terminal, you will find some files starting with **HeapThresholdWatcher-** \* in the name inside **/tmp** directory.  
Going forward, the future releases of software will have these files automatically included in a flight report / support file.

---

<div class="post-metadata">

**Author:** ![tom\_conrad](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@tom\_conrad](https://forum.universal-robots.com/u/tom_conrad)\
**Post date:** [July 29, 2025, 10:34pm UTC](https://forum.universal-robots.com/t/out-of-memory-error/10159/4 "2025-07-29T22:34:57Z")

</div>

Is there a way to turn archiving and rotation on for the HeapThresholdWatcher files? I’ve seen where /tmp gets full and the system locks up.
