Re: [osg-users] osgUtil::IntersectionVisitor eats all the memory

2018-01-09 Thread Robert Osfield
Hi Nick, There isn't anyone else other than you can debug this one - you are the only one with your data and with your application code, you are the only one seeing this issue, we'd have to be omnipresent to be able to pinpoint what is wrong. As I said the best thing you can do is run your

Re: [osg-users] osgUtil::IntersectionVisitor eats all the memory

2018-01-09 Thread Trajce Nikolov NICK
Thanks Robert, no circular reference since I am displaying that database in the viewer nicely. Here is the struct (a bit odd but it is as is): Group | PagedLOD PagedLOD PagedLOD dozen of these | Quadtree (similar to VPB generated subtiles) I was thinking the visitor is reading all of these

Re: [osg-users] osgUtil::IntersectionVisitor eats all the memory

2018-01-09 Thread Robert Osfield
Hi Nick, This is really something you'd want to use a debug for - just run it and break the app before anything untoward happens. The code itself looks quite benign on a first reading, the only thing I can think of that might cause a memory issue would be if your scene graph had a circular

[osg-users] osgUtil::IntersectionVisitor eats all the memory

2018-01-09 Thread Trajce Nikolov NICK
hi Robert, Community, I have the following code in a loop against very large quadtree based database. And this code is eating all the memory, progressively and then the system kills it . Any clue? Thanks a lot osg::ref_ptr picker; osg::ref_ptr iv; osg::Vec3d getHOT(const osg::Vec3d& position,