Bug #764

Memory leackage in mesocrystal simulation.

Added by pospelov about 6 years ago. Updated about 6 years ago.

Status:ArchivedStart date:13 Aug 2014
Priority:HighDue date:
Assignee:herck% Done:

0%

Category:-
Target version:Sprint 23

Description

  • MacInstrument reports 9.8Gb heap allocation/deallocation during Meso crystal instrument
  • 8.4Gb of it seats in new operator of ScalarRTCoefficients invoked from ScalarSpecularInfoMap
  • After meso simulation is completed, memory leackage is 4.77Mb produced in the same place

Other small leackages

  • 1.19 kB in MultiLayerDWBASimulation::collectRTCoefficientsScalar()
  • 128 bytes in void boost::shared_ptr<ILayerRTCoefficients>::reset<ILayerRTCoefficients>(ILayerRTCoefficients *)
  • 128 bytes in void boost::shared_ptr<ISpecularInfoMap>::reset<ISpecularInfoMap>(ISpecularInfoMap *)
About performance
  • 53.8% time is in FormFactorDWBA::calculateTerms
  • or, 34% ScalarSpecularInfoMap::getCoefficients()
  • or, 28% in SpecularMatrix::execute()

History

#1 Updated by pospelov about 6 years ago

  • Description updated (diff)

#2 Updated by herck about 6 years ago

  • Assignee set to herck

#3 Updated by herck about 6 years ago

  • Status changed from Sprint to Resolved

#4 Updated by pospelov about 6 years ago

  • Status changed from Resolved to Archived

Also available in: Atom PDF