Christopher Johnson wrote:
> Can someone suggest a quick way to diagnose this?
> 
> After running my program for a while, I sometimes get:
> 
> primary.c:dfb_gdl_alloc_surface:523: gdl_alloc_surface: res=7 
> [GDL_ERR_NO_MEMORY]
> (!) DirectFB/core/layers: AllocateSurface() failed!
> (!) DirectFB/core/layers: Could not set layer context config!
>     --> Out of video memory!
> (#) DirectFBError [gdk_display_open: GetDisplayLayer]: Out of video memory!
> 
> Is there a reasonable way to monitor allocations?  Do I have a leak or 
> just too high a demand?

With the multi app core you can run "dfbinfo", otherwise you'd need to link it
in, rename main() and call it to show a dump.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to