Ticket #4234 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Make the available memory return the correct value on Linux

Reported by: Stuart Campbell Owned by: Stuart Campbell
Priority: critical Milestone: Release 2.0
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Andrei Savici

Description

At the moment the value returned for the free memory on linux is too low.

The free memory on linux = free + cached + buffers.

Change History

comment:1 Changed 9 years ago by Stuart Campbell

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Stuart Campbell

Linux now reports free memory correctly. refs #4234

Added on the buffer onto the available memory. Added a final debug message the prints the free and total memory. Removed the 'scaling' factor on the cache that was being added to the total free memory.

Changeset: 0b8288f40ea3c777050ba6bd5bbf9de8934ec110

comment:3 Changed 9 years ago by Stuart Campbell

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

We now get the same number that is reported by the 'free' command.

comment:4 Changed 9 years ago by Andrei Savici

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

comment:5 Changed 9 years ago by Andrei Savici

  • Status changed from verifying to closed

Works as described. On linux it shows available()=free+buffers

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5081

Note: See TracTickets for help on using tickets.