New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibly set_number_of_points doesn't delete memory #737

Closed
Garyfallidis opened this Issue Oct 16, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@Garyfallidis
Member

Garyfallidis commented Oct 16, 2015

You can simply run the function with a large tractogram about (>1M streamlines) and resample at 2 points. You should see your memory going up.

@MarcCote

This comment has been minimized.

Contributor

MarcCote commented Oct 19, 2015

set_number_of_points returns a new list of ndarrays, but the original streamlines still exist. Are you experiencing an increase in memory that is more than what is expected, i.e. the sum of the two sets of streamlines?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment