|
Boost Users : |
Subject: Re: [Boost-users] boost::thread_resource_error
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2010-10-19 14:37:23
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 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