Ticket #7301 (assigned)

Opened 7 years ago

Last modified 5 years ago

Algorithm to estimate memory usage for event file

Reported by: Martyn Gigg Owned by: Peter Parker
Priority: major Milestone: Backlog
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

From Steve King

Attached batch script generates a FATAL 'Bad Allocation' & 'Memory Error' around script line 34/35 on a PC with 12Gb RAM (LowerMemoryLimit = 50%) . Works ok on a machine with 16Gb (LowerMemoryLimit = 80%).

Is there a way of estimating memory usage so that, for example, Mantid could throw a warning when a User loads a SANS batch file; ie, to say, this batch file has too many runs for the amount of memory in the machine you are using, shorten your batch file?

My suggestion would be an algorithm that estimates the amount of memory required to load an event file, e.g. EstimateEventFileMemoryUsage.

This should then be used as part of the SANS batch process to raise a warning as Steve suggests if the processing cannot be achieved.

We already have utilities exposed to Python for inquiring about memory utilization.

Change History

comment:1 Changed 7 years ago by Nick Draper

  • Component changed from Mantid to Framework

comment:2 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.6 to Backlog

Moved to backlog at the code freeze for R2.6

comment:3 Changed 7 years ago by Nick Draper

  • Status changed from new to assigned

Bulk move to assigned at the introduction of the triage step

comment:4 Changed 7 years ago by Nick Draper

  • Owner changed from Gesner Passos to Peter Parker

Ownership handed over to Peter

comment:5 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 8147

Note: See TracTickets for help on using tickets.