Hi Serge, I don't know of any tools for reporting back memory consumption of the graphics card, unfortunately OpenGL has never provide an help here either :-|
W.r.t tackling your memory issues, routes you could look at are to use the new texture object pool, use the env var OSG_TEXTURE_POOL_SIZE set to the size in bytes you want it to use. This can also be set programmatically via osg::DisplaySettings. Robert. On Thu, Apr 15, 2010 at 8:14 AM, Serge Lages <[email protected]> wrote: > Hi all, > I am facing a new problem with an application playing a big video (768x5842) > on a setup with 2 graphic cards and 4 screens. After playing this video, we > also need to render some big images (10 images of 5842x5842px, we cut them > in several parts). Everything goes well when testing my app, the video runs > fine, then we can browse the images without problems. But if I let the first > video playing some time (about 10 or 20 minutes), when I try to browse my > images, sometimes I get white squares instead of them and this error : > OpenGL error : out of memory > > This error only happens if I let the first video playing a moment. Any idea > what's happening ? Is there any way to flush my cards memory ? And is there > any tool to report back the memory consumption of my graphical card ? (I > have the same error under Windows or Linux) > Thanks ! > -- > Serge Lages > http://www.tharsis-software.com > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

