Bug #1558

Memory leakges in Python on Simulation::getIntensityData call

Added by pospelov over 4 years ago. Updated about 4 years ago.

Status:ArchivedStart date:02 Aug 2016
Priority:NormalDue date:
Assignee:pospelov% Done:


Target version:Sprint32


Thanks to Dominique Dresen

I think I narrowed the source of this bug down to the getIntensityData() method of GISASSimulation. Creating a simulation, setting the sample and running Simulation is fine. But if I have getIntensityData() which I obviously would need leads patiently to a crash once the memory is full.

for i in range(1000):
    print("Iteration ", i)
    sample = get_sample(i)
    # this call increases memory usage until program gets killed :-(
    simul_data = simulation.getIntensityData()


#1 Updated by pospelov over 4 years ago

  • Status changed from Sprint to Resolved

#2 Updated by herck about 4 years ago

  • Status changed from Resolved to Archived

Also available in: Atom PDF