Ticket #189 (closed: fixed)

Opened 12 years ago

Last modified 5 years ago

Create an overall MemoryManager class

Reported by: Nick Draper Owned by: Roman Tolchenov
Priority: major Milestone: Iteration 11
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

This class will be a central point of organization for our memory management efforts.

It will need to be able to

  • Determine the amount of memory available for both windows and linux
  • Determine the amount of memory used by Mantid data stores (primarily the analysis data service)
  • It will be used by the WorkspaceFactory to determine whether to issue a memory reduced version of an algorithm.
  • It may (later on) inform less recently used workspaces to save themselves to disk to reduce memory.

Change History

comment:1 Changed 12 years ago by Nick Draper

  • Owner set to Roman Tolchenov

comment:2 Changed 12 years ago by Roman Tolchenov

(In [1267]) re #189. MemoryManager class created as a singleton. At the moment it can return the total physical memory of the machine and the available physical memory in KB. Workspace.getMemorySize() function is implemented to give approximate memory usage of the workspace.

comment:3 Changed 12 years ago by Roman Tolchenov

(In [1269]) re #189

comment:4 Changed 12 years ago by Roman Tolchenov

(In [1273]) re #189. Forgot to add the files

comment:5 Changed 12 years ago by Roman Tolchenov

(In [1274]) re #189. MemoryManagerTest.h added

comment:6 Changed 12 years ago by Roman Tolchenov

  • Status changed from new to closed
  • Resolution set to fixed

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1037

Note: See TracTickets for help on using tickets.