Skip to content
Snippets Groups Projects
Closed Memory leak when completing a job that was restarted
  • View options
  • Memory leak when completing a job that was restarted

  • View options
  • Closed Issue created by Matthieu Schaller

    When we restart a simulation from check-point files we "malloc" all the model properties rather than filling in objects on the main function's heap. That malloc'd memory is not properly cleaned up. Some small arrays allocated in restart.c are also not freed upon completion. This is a minor issue overall as the leaks only occur when a job completes but it does clog a bit the memory sanitizer's report.

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading