As in your case, we also have high resolution insets which exhibit this
problem, but our applications are centered around a continuous render
update.
 
Robert can correct me if I am wrong, but the new mechanism for
controlling how nodes are paged in and out of memory is defaulted to ( I
think ) 300 for the target maximum number of page lods.  Because this
value is set, removing of expired subgraphs will go down the path of
removing capped paged lods instead of the expiry.  To use the expiry
system of old, make sure to call setTargetMaximumNumberOfPageLOD(0) on
the database pager, and the expiry values you have set should kick in.
 
We have tried increasing the target maximum, but we run a greater risk
of consuming too much memory for a 32 bit application on Windows.
Because of time restraints, I have not been able to follow-up on this
problem.  Sorry.

Ryan H. Kawicki 
The Boeing Company 
Training Systems & Services 
Software Engineer 

 


________________________________

        From: Evan Andersen [mailto:[email protected]] 
        Sent: Monday, April 13, 2009 10:08 AM
        To: OpenSceneGraph Users
        Subject: Re: [osg-users] DBPager continuously reloading tiles
        
        
        I tried the settings you suggested Jason, but I still get the
same behavior.
        
        -Evan
        
        
        
        On Fri, Apr 10, 2009 at 5:57 PM, Jason Beverage
<[email protected]> wrote:
        

                Hi Evan,
                
                What happens if you set the expiry frame to something
like 10 and the expiry time to DBL_MAX?
                
                I haven't tried running the DatabasePager without
non-continuous rendering, so I'm not sure how well it works.
                
                Jason 


                On Fri, Apr 10, 2009 at 5:20 PM, Evan Andersen
<[email protected]> wrote:
                


                        Thanks for your response Robert.  I just tried
setting the expiry delay of the database pager to 10, 100, and 1000, but
still have the same problem.  I also tried increasing the expiry frames
count to 60, but that didn't help either.
                        
                        -Evan
                        
                        
                        
                        On Fri, Apr 10, 2009 at 2:33 PM, Robert Osfield
<[email protected]> wrote:
                        

                                On Fri, Apr 10, 2009 at 6:43 PM, Evan
Andersen <[email protected]> wrote:
                                

                                Sorry, I forgot to mention that.  I'm
using version 2.9.2 from the trunk.
                                


                                Thanks for the clarification.  Changes
in DatabasePager in 2.8 onwards should make it easier to do what you are
doing.  The DatabasePager and PagedLOD were still designed around
continuous rendering though so you are running a bit off usual usage
model so might need to tweak a few things.
                                
                                My guess is that the PageLOD are
expiring their children as they haven't been traversed for a given
amount of time.  You can adjust the expiry delay via the DatabaePager
API so have a browse.
                                
                                Robert.
                                
                                
                                
                                 
                                


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



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



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


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

Reply via email to