Memory leakges in Python on Simulation::getIntensityData call
|Status:||Archived||Start date:||02 Aug 2016|
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) simulation.setSample(sample) simulation.runSimulation() # this call increases memory usage until program gets killed :-( simul_data = simulation.getIntensityData()