# Revision history [back]

### gazebo::physics::JointController::SetPositionTarget() memory consumption

 Hello!

I am using ***gazebo::physics::JointController::SetPositionTarget()*** Gazebo API method in order to control model joint positions. If I do it for long enough time Gazebo runs out of memory and terminates.

However, if I either dont call ***SetPositionTarget()*** or if I call it with one and the same argument all the time memory consumption doesn't grow.

I tried Gazebo7 and Gazebo9. The problem is the same.

I'd be very much obliged for any advice!

 2 None chapulina 7464 ●2 ●23 ●53 https://louise.world/

### gazebo::physics::JointController::SetPositionTarget() memory consumption

 Hello!
Hello!  I am using ***gazebo::physics::JointController::SetPositionTarget()*** gazebo::physics::JointController::SetPositionTarget() Gazebo API method in order to control model joint positions. If I do it for long enough time Gazebo runs out of memory and terminates.
terminates.  However, if I either dont call ***SetPositionTarget()*** SetPositionTarget() or if I call it with one and the same argument all the time memory consumption doesn't grow.
grow.  I tried Gazebo7 and Gazebo9. The problem is the same.
same.  I'd be very much obliged for any advice!