Ticket #2388 (closed: fixed)
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
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
Note: See
TracTickets for help on using
tickets.