Re: [osg-users] Memory usage with SubloadCallback

2014-11-25 Thread Cleo Saulnier
Thank you so much for your response! You saved me a LOT of time. I thought you had to call dirty() on the image associated with the texture in order for it to trigger the callback. Based on your comment that I was using both an image and a callback, I tried removing the image (which makes sense

Re: [osg-users] Memory usage with SubloadCallback

2014-11-25 Thread Robert Osfield
Hi Cleo, There isn't any way I can determine what the problem from the information given. I can't rule out an OSG bug, but the only way to be able to find this out would be to have a compilable application that reproduces the bug so that I can test it first hand. It could very easily be a bug in

[osg-users] Memory usage with SubloadCallback

2014-11-25 Thread Cleo Saulnier
Hi, I recently upgraded from osg 2.6 to 3.2.1. I noticed that the SubloadCallback::load() now gets called exclusively and eats up all memory until the machine crashes. subload() never gets called anymore. I changed my Texture2D instance to use 1 mipmap level and forced it have zero levels wit

Re: [osg-users] Memory usage

2012-12-10 Thread Robert Osfield
Hi Nikos, I would suspect an issue with the way you are trying to message memory footprint as the figures really aren't proportional to the data used. The OSG's management is pretty thoroughly tested and is unlikely to introduce any unexpected issues. Robert.

Re: [osg-users] Memory usage

2012-12-05 Thread Nikos Babasakalis
Hi Ulrich, Thank you very much for your answer and forgive me for taking too long to respond I used two sets of data from the external application and saved the scene graph to corresponding osg files. Here are some statistics: The first osg file is 138 MB and the scene graph has 2864009 vertic

Re: [osg-users] Memory usage

2012-10-17 Thread Ulrich Hertlein
Hi Nikos, On 13/10/12 1:29, Nikos Babasakalis wrote: > Using test data from the external application and saving the graph to osg > files, > I observed that their size is very big (88 MB in one case and 115 MB in > another). > Moreover the memory consumption is very high (about 130 MB in one case

Re: [osg-users] Memory usage

2012-10-14 Thread Nikos Babasakalis
Hi, I am new to OpenScenegraph and I am trying to use osgviewer in an MFC MDI application (something like osgviewerMFC example) for displaying entities obtained from an external application. I am using OpenScenegraph 2.2.0 The structure of the graph I am making is something like this: 1.