You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a B+ with the latest Noobs Raspian off the website (release date 2014-09-09). I am having troubles adding and removing overlays. After a sequence of approximately 60 add/remove overlays an out of memory error occurs. Code below as well as error. I watched the system memory during the add and remove overlay and the memory decreases at a specific rate that appears to be related to either the preview or bumpy buffer size. However, If I specify a smaller preview size than below the memory error still occurs with remaining system memory (but that still was decreasing).
mmal: mmal_vc_component_create: failed to create component 'vc.ril.video_render' (1:ENOMEM)
mmal: mmal_component_create_core: could not create component 'vc.ril.video_render' (1)
Traceback (most recent call last):
File "overlay_bug.py", line 26, in <module>
o = camera.add_overlay(np.getbuffer(a), layer=3, alpha=64)
File "/usr/lib/python2.7/dist-packages/picamera/camera.py", line 953, in add_overlay
renderer = PiOverlayRenderer(self, source, size, **options)
File "/usr/lib/python2.7/dist-packages/picamera/renderers.py", line 474, in __init__
rotation, vflip, hflip)
File "/usr/lib/python2.7/dist-packages/picamera/renderers.py", line 89, in __init__
prefix="Failed to create renderer component")
File "/usr/lib/python2.7/dist-packages/picamera/exc.py", line 133, in mmal_check
raise PiCameraMMALError(status, prefix)
picamera.exc.PiCameraMMALError: Failed to create renderer component: Out of memory
The text was updated successfully, but these errors were encountered:
I have a B+ with the latest Noobs Raspian off the website (release date 2014-09-09). I am having troubles adding and removing overlays. After a sequence of approximately 60 add/remove overlays an out of memory error occurs. Code below as well as error. I watched the system memory during the add and remove overlay and the memory decreases at a specific rate that appears to be related to either the preview or bumpy buffer size. However, If I specify a smaller preview size than below the memory error still occurs with remaining system memory (but that still was decreasing).
The text was updated successfully, but these errors were encountered: