Memory Error in tune_local_threshold_noise.py
Noise tuning of (linear flavor, should not matter) gives Memory Error. Attached you can find a screenshot from htop. Starting at higher thresholds (Vth_lin) gives the same error. Also the FIFO discard errors are very strange. Why is ECR always sent?
2018-12-20 14:15:04,144 - [NoiseTuning ] - ERROR ('RX FIFO discard error(s) detected ', [255]) Aborting run...
2018-12-20 14:15:04,645 - [NoiseTuning ] - ERROR ('RX FIFO discard error(s) detected ', [255]) Aborting run...
2018-12-20 14:15:05,148 - [NoiseTuning ] - ERROR ('RX FIFO discard error(s) detected ', [255]) Aborting run...
2018-12-20 14:15:05,650 - [NoiseTuning ] - ERROR ('RX FIFO discard error(s) detected ', [255]) Aborting run...
2018-12-20 14:15:06,152 - [NoiseTuning ] - ERROR ('RX FIFO discard error(s) detected ', [255]) Aborting run...
2018-12-20 14:15:06,654 - [NoiseTuning ] - ERROR ('RX FIFO discard error(s) detected ', [255]) Aborting run...
2018-12-20 14:15:07,156 - [NoiseTuning ] - ERROR ('RX FIFO discard error(s) detected ', [255]) Aborting run...
2018-12-20 14:15:07,661 - [NoiseTuning ] - ERROR ('RX FIFO discard error(s) detected ', [255]) Aborting run...
2018-12-20 14:15:08,163 - [NoiseTuning ] - ERROR ('RX FIFO discard error(s) detected ', [255]) Aborting run...
2018-12-20 14:15:56,990 - [NoiseTuning ] - INFO Iteration 0 at threshold 374 | 0 hit pixels with max occupancy 0 | Mean TDAC is 0.00 | 0 pixels are disabled (0.00% of 26112 total pixels)
2018-12-20 14:15:56,999 - [NoiseTuning ] - INFO TDAC distribution: [26112]
Traceback (most recent call last):
File "tune_local_threshold_noise.py", line 217, in <module>
tuning.start(**local_configuration)
File "/home/yannick/git/bdaq53/bdaq53/scan_base.py", line 665, in start
self.scan(**kwargs)
File "tune_local_threshold_noise.py", line 124, in scan
n_hit_pixels, hit_occ, error = self.take_data()
File "tune_local_threshold_noise.py", line 61, in take_data
hist_occ = au.analyze_chunk(rawdata)['HistOcc']
File "/home/yannick/git/bdaq53/bdaq53/analysis/analysis_utils.py", line 557, in analyze_chunk
hist_bcid_error) = init_outs(n_hits, n_scan_params=1)
File "/home/yannick/git/bdaq53/bdaq53/analysis/analysis_utils.py", line 1083, in init_outs
hits = np.zeros(shape=n_hits, dtype={'names': names, 'formats': formats})
MemoryError
Closing remaining open files:/home/yannick/git/bdaq53/bdaq53/scans/output_data/20181220_141247_noise_threshold_tuning.h5...done
Edited by Yannick Manuel Dieter