Ticket #2388 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Expose releaseFreeMemory to python

Reported by: Peter Peterson Owned by: Peter Peterson
Priority: minor Milestone: Iteration 27
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Andrei Savici

Description

In C++ you can release the free system memory (assuming tcmalloc is compiled in) with

Mantid::API::MemoryManager::Instance().releaseFreeMemory();

Add this as a function in python

mtd.releaseFreeMemory()

Change History

comment:1 Changed 10 years ago by Peter Peterson

  • Status changed from new to accepted
  • Owner set to Peter Peterson

comment:2 Changed 10 years ago by Peter Peterson

  • Status changed from accepted to verify
  • Resolution set to fixed

(In [9385]) Added another function to the FrameworkManagerProxy. Fixes #2388.

comment:3 Changed 10 years ago by Michael Whitty

  • Status changed from verify to verifying
  • Tester set to Michael Whitty

comment:4 Changed 10 years ago by Michael Whitty

  • Status changed from verifying to verify
  • Tester Michael Whitty deleted

returning this to test pool, as do not have tcmalloc on this machine and it's not on the build servers. function seems to be exposed correctly, but can't test if it actually does anything.

comment:5 Changed 10 years ago by Andrei Savici

  • Status changed from verify to verifying
  • Tester set to Andrei Savici

comment:6 Changed 10 years ago by Andrei Savici

  • Status changed from verifying to closed

Seems to be working, and memory usage of MantidPlot decreases after using it.

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3235

Note: See TracTickets for help on using tickets.