Ticket #3492 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Minimize memory use of MDBox'es

Reported by: Janik Zikovsky Owned by: Janik Zikovsky
Priority: minor Milestone: Iteration 30
Component: VATES Keywords:
Cc: Blocked By:
Blocking: Tester: Owen Arnold

Description

Nick reported that ~1 GB was used up by a 4 GB file loaded as a file-based back end. A big part of that is the memory of the boxes, which for a 3D MDBox was 280 bytes at the start.

Minimize memory use of IMDBox, MDBox, MDGridBox as much as possible.

Change History

comment:1 Changed 9 years ago by Janik Zikovsky

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Janik Zikovsky

In [13696]:

Refs #3122: Added compiler directive to avoid caching centroids for all boxes - should save some memory at the cost of slower centroiding/peak finding.

comment:3 Changed 9 years ago by Janik Zikovsky

In [13738]:

Refs #3492: Reduced the size of MDBox'es some more, about 12 bytes per box.

comment:4 Changed 9 years ago by Janik Zikovsky

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

Centroiding peaks must be slower now, need to compare performance vs memory use and make a choice there.

comment:5 Changed 9 years ago by Owen Arnold

  • Status changed from verify to verifying
  • Tester set to Owen Arnold

comment:6 Changed 9 years ago by Owen Arnold

  • Status changed from verifying to closed

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4339

Note: See TracTickets for help on using tickets.