Ticket #2444 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Workspaces: Report memory used by the X axis

Reported by: Janik Zikovsky Owned by: Janik Zikovsky
Priority: minor Milestone: Iteration 28
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Vickie Lynch

Description

LoadSNSEventNexus(Filename="/home/8oz/data/SNAP_4314_event.nxs",OutputWorkspace="a",SingleBankPixelsOnly="0",Precount="1")
Sort(InputWorkspace="a")
CompressEvents("a","a", 0.05)
Rebin(InputWorkspace="a",OutputWorkspace="a",Params="0,10,17000")
Sort(InputWorkspace="a")

AlignDetectors("a", "a", "/home/8oz/data/SNAP_4363.cal")

On the last step, memory use goes up 14 GB, whereas it should not increase significantly at all.

Change History

comment:1 Changed 10 years ago by Janik Zikovsky

  • Status changed from new to accepted

comment:2 Changed 10 years ago by Janik Zikovsky

  • Priority changed from blocker to minor
  • Status changed from accepted to assigned
  • Summary changed from AlignDetectors: Memory blow-up to Workspaces: Report memory used by the X axis

Changed description:

The memory use in the given example was actually from the X axes being modified for every pixel. 1700 bins * 1.2 million pixels * 8 bytes = 16 GB of memory. However, that is not reported by the amount of memory use (at least in EventWorkspace, possible Workspace2D also).

comment:3 Changed 10 years ago by Janik Zikovsky

  • Status changed from assigned to accepted

comment:4 Changed 10 years ago by Janik Zikovsky

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

(In [9600]) Fixes #2444: More accurate memory reporting for ragged X bins. Also, made getMemorySize() return bytes instead of KB.

comment:5 Changed 9 years ago by Vickie Lynch

  • Status changed from verify to verifying
  • Tester set to Vickie Lynch

comment:6 Changed 9 years ago by Vickie Lynch

  • Status changed from verifying to closed

Memory used is reported to be 15.95MB for EventWorkspace

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3291

Note: See TracTickets for help on using tickets.