[osg-users] [patch] PThread.c++ creation error, lower stack size limit

Cedric Pinson cedric.pinson at plopbyte.net
Sun Nov 29 09:53:32 PST 2009

Hi Sergey,

using a thread pool would resolve the problem. but if there is a problem
in the thread deletion or something like, i think it something that
should be fixed.
But right now i dont have enough clue to tell more.

I will keep the link if i change the way i manage operation.

thanks for the link


+33 659 598 614  Cedric Pinson mailto:cedric.pinson at plopbyte.net

On Sun, 2009-11-29 at 19:52 +0300, Sergey Kurdakov wrote:
> Hi Cedric,
> would you consider using thread pool?
> virtual planet builder should have one
> http://www.openscenegraph.org/projects/VirtualPlanetBuilder/browser/trunk/src/vpb/ThreadPool.cpp
> and can be used as example
> Regards
> Sergey Kurdakov
> On Sun, Nov 29, 2009 at 6:21 PM, Cedric Pinson
> <cedric.pinson at plopbyte.net> wrote:
> > Hi David,
> >
> > I had a weird issue, i think it's related to thread but dont know if
> > it's because of the submission. I use a lot of threads not at the same
> > time but on a long period. It seams the thread i create are not remove
> > from memory, so at the end of day i have 3Gb of virtual memory used.
> > Doing a memory map i can see a lot of memory entry with 8MB and at a
> > given time my program stop to create thread (from a limit i guess).
> > I did not dig enough yet to tell more, but if some of you have an idea
> > or suggestion i will take them.
> >
> > Cheers,
> > Cedric
> >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20091129/addbfb4f/attachment.pgp>

More information about the osg-users mailing list