Hi Serge,

On Fri, May 23, 2008 at 4:17 PM, Serge Lages <[EMAIL PROTECTED]> wrote:
> There's no hight memory usage for me. I tried to investigate further on this
> problem but can't find anything. If I create only one thread in the pager it
> also crash.

The memory issue I only see if I run the app fro 10 to 15 mins on very
large paged database,
this database is built using osgTerrain::TerrainTile so isn't a normal
database either so issues
with memory consumption might have been introduced here.  Others may not see any
problem whatsoever - especially if the app crashes first...

> The bug always happens line 272, sometimes _requestList is empty, sometimes
> not (but it still crash)...

This is a bit of oddity, on review the code that add and removes data
from the _requestList all
looks sound - its pretty straight forward code as well.  Perhaps the
problem is down to memory
corruption elsewhere.

Is there any chance you could try things out on another machine/OS?
This might give another
data point in which to narrow the hunt for what is causing the problem.

Another thing you could enforce serialization of the loads by changing
line 513 from:

            bool serialize_readNodeFile = true;

to

              bool serialize_readNodeFile = false;

Making this change will break the threading of the loading, so rather
negating the whole point of the new multithread within the paging
itself, but as with testing on other platforms it'll give us a bit for
info.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to