Hi Werner,

On Wed, Nov 24, 2010 at 10:53 AM, Werner Modenbach
<[email protected]> wrote:
> Yes, I absolutely agree and this is actually similar to my first approach.
> Unfortunately I ran out of address space on 32 bit Windows machines. The
> available address space is about 1.4 GB and Windows garbage collection is
> horrible!
> That's why I replace the geode in use by the new one immediately after
> completion of calculation.
> But anyway many thanks for your explanations. This helps me a lot on getting
> deeper insight.

It doesn't sound like you are double buffering just the data you need
to if you are using so much memory.

If you can only just store one set of data in memory at once then you
will have to mutex the two threads to prevent them from overlapping.
However, if you are hitting such memory problems there is likely
something serious amiss with how you are going about things,
simulating and and rendering cloth really shouldn't need to be such a
big memory user.

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

Reply via email to