🌑

Develop Guide to the NumericalEFT library

Memory Profile

Memory allocation is expansive. It is important to find the unecessary memory allocation in the code. You may profile the memory usage of your code with the following steps.

  • Run command:
    julia --track-allocation=user script.jl
  • files *.mem will be generated for each script
  • To clean up *.mem file, run command:
    find . -name "*.mem" -type f -delete

— Jan 15, 2022

Made with ❤ and Hexo.js at Earth.