Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-DAQ›Software Framework Comment on #51066 #51068

Comment to PAY_Img_50Hz - rtpc15

> It is possible the memory leak is triggered by a missing camera, and caused by the code in Imaging trying to reconnect.

Looking at the memory leak rate increase starting March 06 around 10h30 UTC, I have found this event:

```
2021-03-06-10h35m57-UTC>WARNING-Lost control of camera 'WI_Cam'
2021-03-06-10h35m58-UTC>INFO...-CfgReachState> Active(Active) Ok
2021-03-06-10h35m59-UTC>INFO...-Appsrc destroyed for stream 'WI_Cam'
2021-03-06-10h36m02-UTC>ERROR..-1299062179 Channel V1:PAY_WI_Cam_Image start to be missing
...
2021-03-06-10h36m02-UTC>ERROR..-1299062179 Channel V1:PAY_WI_Cam_ProcessingTime start to be missing
2021-03-06-10h36m04-UTC>INFO...-Stream 'WI_Cam' requested
2021-03-06-10h36m07-UTC>INFO...-Reconnect to camera 'WI_Cam' (New attempt every 10 seconds)
2021-03-06-10h36m08-UTC>INFO...-Use camera 'Basler-21523158'
2021-03-06-10h36m08-UTC>INFO...-Camera 'WI_Cam' - pixel format = Mono8
2021-03-06-10h36m08-UTC>INFO...-Camera 'WI_Cam' - width = 640 - height = 512
2021-03-06-10h36m08-UTC>INFO...-Camera 'WI_Cam' - x_offset = 0 - y_offset = 0
2021-03-06-10h36m08-UTC>INFO...-Camera 'WI_Cam' - x binning = 2 - y binning = 2
2021-03-06-10h36m08-UTC>INFO...-Camera 'WI_Cam' - exposure_time = 5000 µs - gain = 0
2021-03-06-10h36m08-UTC>INFO...-Camera 'WI_Cam' - GevSCPD = 1600 ticks
2021-03-06-10h36m09-UTC>INFO...-Memory Used increase, cur. 553776.00(KB), inc. 5432.00(KB)
2021-03-06-10h36m09-UTC>INFO...-Latency[0] = 0.25 ms
...
2021-03-06-10h36m09-UTC>INFO...-Latency[19] = 0.264 ms
2021-03-06-10h36m09-UTC>INFO...-Camera WI_Cam sensor readout latency calibrated to 0.3 ms
2021-03-06-10h36m09-UTC>INFO...-Measured image acquisition period is 20.0 ms
2021-03-06-10h36m09-UTC>INFO...-CfgReachState> Golden(Golden) Ok
2021-03-06-10h36m10-UTC>INFO...-1299062187 Channel V1:PAY_WI_Cam_Pwr is back
...
2021-03-06-10h36m10-UTC>INFO...-1299062187 Channel V1:PAY_WI_Cam_ProcessingTime is back
2021-03-06-10h36m10-UTC>INFO...-Memory Used increase, cur. 576448.00(KB), inc. 22672.00(KB)
2021-03-06-10h36m11-UTC>INFO...-1299062188 Channel V1:PAY_WI_Cam_Image is back
2021-03-06-10h36m11-UTC>INFO...-Memory Used increase, cur. 577016.00(KB), inc. 568.00(KB)
2021-03-06-10h36m12-UTC>INFO...-Memory Used increase, cur. 577064.00(KB), inc. 48.00(KB)
2021-03-06-10h36m13-UTC>INFO...-Memory Used increase, cur. 577072.00(KB), inc. 8.00(KB)
2021-03-06-10h36m14-UTC>INFO...-Memory Used increase, cur. 577084.00(KB), inc. 12.00(KB)
2021-03-06-10h36m15-UTC>INFO...-Memory Used increase, cur. 577100.00(KB), inc. 16.00(KB)
2021-03-06-10h36m16-UTC>INFO...-Memory Used increase, cur. 577128.00(KB), inc. 28.00(KB)
```