Hello,

I am having a image/node loading problem that I really hope someone can help me 
with. I am using "osgDB::readNodeFile" and "osgDB::readImageFile" a LOT of 
times during the life time of the program I am working in.  Along side those I 
setup a "osgDB::ReaderWriter::Options" and set it to cache everything, and I 
pass that as the second param for the read file calls. I always store returned 
nodes as a "ref_ptr<osg::Node>".

Now, the problem is after a certain amount of reads I get this error in the 
console window ... "PNGwriter::readfromfile - ERROR **: Too many open files" 
... that followed by more errors saying it can't open the file. After I start 
getting that error the readNodeFile/readImageFile calls all return NULL.

How do if fix this? Has anyone come across this error? Is there any more 
information that would be useful to help figure this out? I am afraid I can't 
share the source code.

Thanks for the reading this, and thanks for any help.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=49321#49321





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to