Problems with insufficient memory in bonsai with pylon camera #2130
Replies: 3 comments 4 replies
-
Can you share the workflow too? thanks |
Beta Was this translation helpful? Give feedback.
-
resolution 1936 x 1216 I am not entirely sure what is meant by pixel format, but pixel size is 3.45 μm × 3.45 μm and the camera is 2.3 MP resolution. I have currently not set a cap to how many videos can maximally be obtained - but if setting throttle to 5 seconds (so same duration as the written video clip), would that circumvent the risk of accumulating video writers? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am running the attached bonsai workflow, which connects to Godot via zeroMQ so when signals are sent from my video game in Godot to Bonsai, this triggers 1) activation of 3 custom built electronics via an Arduino-like (but custom) board, and 2) 5 second video snippets. During my experiment I am continuously recording a video from my Basler pylon camera https://www.baslerweb.com/en/shop/a2a1920-160umpro/ using a pylon capture module in bonsai. This video is both being written into one long video at the end of the experiment, as well as those 5 second video files described.
When running the experiment, I get the following error messages (images attached - for the error on guard stack it also completely shut down bonsai, not just stopped working) - both seems to be related to memory insufficiency. I am using a 32 GB ram Lenovo Thinkpad with over 200 GB available storage, so it would be surprising to me that memory is an issue.
Has anyone had a similar problem or has an idea? the error also occurs if I am only trying to write the 5 second videos and disable the long video writing (but also the error occurs before the end of the experiment, so before the videostream is effectively being written to a file).
When I run the experiment without the camera modules the experiment runs fine and doesn’t start lagging at any point (which it otherwise does for some periods of time)
Any ideas what could be the issue is much appreciated.
Best, Anna


Beta Was this translation helpful? Give feedback.
All reactions