# Max list length and variable Memory Leaks

**URL:** <https://forum.universal-robots.com/t/max-list-length-and-variable-memory-leaks/14263>\
**Category:** Technical Questions\
**Created:** [May 11, 2021, 12:12pm UTC](https://forum.universal-robots.com/t/max-list-length-and-variable-memory-leaks/14263 "2021-05-11T12:12:08Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![anon32310726](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anon32310726](https://forum.universal-robots.com/u/anon32310726)\
**Post date:** [May 26, 2021, 3:30pm UTC](https://forum.universal-robots.com/t/max-list-length-and-variable-memory-leaks/14263/3 "2021-05-26T15:30:41Z")

</div>

Thank you for your answer, maybe it will be a long term solution for me but right now i want to fix it with a small list.

as I was talking about the list size with a friend. He had as an option to take the 2D list appart into 6 1D list for X,Y,Z,Rx,Ry,Rz.  
He pointed me in the right direction for looking on memory leaks as i wrote in the program below. so before i did his advice i was looking for when memory loss would became a problem (for my application i can work around with 20 poses but future i want more)

 ![20210526_165241](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/3/3b464f5723fbc970685c426caadc6c36ca3c212c.jpeg)  
 ![20210526_165309](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/d/dc87ec71d68191cef7cb0853f0e577bdd999907a.jpeg)  
 ![20210526_165524](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/8/8382c08ef32a1774d054f2ec2654059cb3bc6862.jpeg)

in last picture it will pop up the current var\_3 at i=2318

a few weeks back i never heard about memory loss and updated my theory knowledge to look for a practical solution… But nowpractice is not in line with theory, cause i don’t get anny memory loss. now i am wondering how this aint happening. does annyone have ideas or did i do somthing wrong or have I hacked the system … Programmer’s Problem: The Code Doesn’t Work Why? It works Why?

---

_[View the full topic](https://forum.universal-robots.com/t/max-list-length-and-variable-memory-leaks/14263)._
