-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Description
Hi,
There is a huge memory leak during the implicit conversion from numpy array to eigen matrix. Here is a script to reproduce the results on the attached figure.
import numpy as np
import pinocchio as pnc
pnc_model = pnc.buildModelFromUrdf('cartpole.txt')
pnc_data = pnc_model.createData()
q = np.zeros((2, 1))
v = np.zeros((2, 1))
for _ in range(10000000):
pnc.forwardKinematics(pnc_model, pnc_data, q, v)valgrind --tool=massif python test.py
I hope it is possible to fix it.
Best
Metadata
Metadata
Assignees
Labels
No labels
