Ticket #2419 (closed: worksforme)

Opened 10 years ago

Last modified 5 years ago

Windows: LoadNexusProcess and EventWorkspaces consumes all memory

Reported by: Martyn Gigg Owned by: Janik Zikovsky
Priority: major Milestone: Iteration 30
Component: Mantid Keywords:
Cc: nick.draper@… Blocked By:
Blocking: Tester: Nick Draper

Description

From ticket #2269

I have been trying to load a small event file that I have saved first (using the data in Mantid/Test/Data/sns_event_prenexus/SEQ_TS_2009_01_06.dat)

This is a very small file, but on loading I get a bad allocation on windows, I have over 2GB available memory, and the original ws only took 9,350KB.

All seems okay on Linux.

Change History

comment:1 Changed 10 years ago by Janik Zikovsky

What was the SEQ run number?

comment:2 Changed 10 years ago by Martyn Gigg

This came from Nick, it was this file: Mantid/Test/Data/sns_event_prenexus/SEQ_TS_2009_01_06.dat

Which actually, now looking at it, isn't an event file is it?

comment:3 Changed 10 years ago by Janik Zikovsky

No, it is a mapping file; it gave a few errors during loading but still loaded something (both files are pure binary so it is possible to load them even if the results are meaningless). I was able to save and load back on Linux without a crash.

comment:4 Changed 10 years ago by Janik Zikovsky

Michael Whitty error report:

File saved can not be loaded (in [9515])

Steps to reproduce:

  • Load CNCS_7860_event.nxs using LoadEventNexus
  • Right click on workspace, select 'Save Nexus'
  • Try to run either LoadNexus or LoadNexusProcessed, you receive error message "bad allocation".

comment:5 Changed 10 years ago by Nick Draper

I've also tried this with a correct prenexus file, and an event nexus file as the original data, same effect. Bad alloc on reloading the data.

comment:6 Changed 9 years ago by Nick Draper

  • Owner set to Janik Zikovsky
  • Status changed from new to assigned

comment:7 Changed 9 years ago by Janik Zikovsky

  • Status changed from assigned to accepted

comment:8 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 28 to Iteration 29

Bulk move of tickets at the end of iteration 28

comment:9 Changed 9 years ago by Janik Zikovsky

  • Milestone changed from Iteration 29 to Iteration 30

Moved my tickets that won't get finished by iteration 29

comment:10 Changed 9 years ago by Janik Zikovsky

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

LoadNexusProcessedTest has been passing on windows platforms for some time now.

comment:11 Changed 9 years ago by Nick Draper

  • Status changed from verify to verifying
  • Tester set to Nick Draper

comment:12 Changed 9 years ago by Nick Draper

  • Status changed from verifying to closed

tested in release 1.30.14747

comment:13 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3266

Note: See TracTickets for help on using tickets.