# UR leaks memory and freezes. Maybe sockets?

**URL:** <https://forum.universal-robots.com/t/ur-leaks-memory-and-freezes-maybe-sockets/20566>\
**Category:** Technical Questions\
**Created:** [April 13, 2022, 7:59am UTC](https://forum.universal-robots.com/t/ur-leaks-memory-and-freezes-maybe-sockets/20566 "2022-04-13T07:59:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon19623786](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@anon19623786](https://forum.universal-robots.com/u/anon19623786)\
**Post date:** [April 13, 2022, 7:59am UTC](https://forum.universal-robots.com/t/ur-leaks-memory-and-freezes-maybe-sockets/20566/1 "2022-04-13T07:59:08Z")

</div>

Hi.

I have some pretty simple UR programs with movements and socket communication running on UR10e robots. I use socket\_open(), socket\_send\_string() and socket\_read\_ascii\_float() and socket\_close(). Programs are started via dashboard server on port 29999 by sending “load ” and “play”.

After about one day of work robots starts freezing, ignoring new dashboard commands and sometimes throwing “no connector” error. It was happening more often with poliscope 5.9, but is still present after update to 5.11.10. So I don’t think that [this update](https://devicebase.net/en/universal-robots-ur10e/updates/polyscope-gui-urcap-api-and-controller-bug-fixes-for-e-series-only/193) fixed it.

I’ve been looking into robot ram and cpu usage and it’s getting higher and higher over time. Robot needs to be rebooted in order to start work properly again.

Attached example program.

```auto

```

---

<div class="post-metadata">

**Author:** ![anon19623786](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@anon19623786](https://forum.universal-robots.com/u/anon19623786)\
**Post date:** [April 13, 2022, 8:00am UTC](https://forum.universal-robots.com/t/ur-leaks-memory-and-freezes-maybe-sockets/20566/2 "2022-04-13T08:00:29Z")

</div>

[Link to program](https://ufile.io/10dc6zd4)

---

<div class="post-metadata">

**Author:** ![dbarton](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@dbarton](https://forum.universal-robots.com/u/dbarton)\
**Post date:** [April 14, 2022, 3:10pm UTC](https://forum.universal-robots.com/t/ur-leaks-memory-and-freezes-maybe-sockets/20566/3 "2022-04-14T15:10:47Z")

</div>

there is most likely some command that is flooding the cpu. it is typically a socket command that is being sent continuously or a blend radius being ignored. I would generate a support file and send to your local distributor to analyze or you could download UR log viewer and check yourself. [Universal Robots - Log Viewer V1.2.1.0](https://www.universal-robots.com/download/software-e-series/support/ur-log-viewer/log-viewer-v1210/)
