Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::thread_resource_error
From: Julien Martin (balteo_at_[hidden])
Date: 2010-10-19 15:13:40


Scott,
Yes you're right. I am going to alter the design of my app and use less
threads.
Thanks,
J.

2010/10/19 Scott McMurray <me22.ca+boost_at_[hidden]>

> On Tue, Oct 19, 2010 at 07:17, Julien Martin <balteo_at_[hidden]> wrote:
> >
> > Can anyone please help. I don't understand why I get this error as I have
> no
> > resource problems with my machine.
> >
>
> How much memory does each thread need? It doesn't have to be that big
> a simulation to use a few MB, which pushes the usage over a few GB...
>
> Regardless, you should consider whether you really need 500 threads.
> That's a good 2 orders of magnitude more than normal hardware can
> support, and thus highly discouraged.
>
> ~ Scott
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net