From: Lukas Larsson <lu...@erlang-solutions.com>
Date: Tue, 1 May 2012 11:56:15 +0200
Local: Tues, May 1 2012 5:56 am
Subject: Re: [erlang-questions] EUnit error test: limit number of processes at runtime
Hi,
You could also spawn a slave[1] node in the test with your desired
Lukas
[1] : http://erlang.org/doc/man/slave.html
On Sat, Apr 28, 2012 at 9:24 PM, Geoff Cant <n...@erlang.geek.nz> wrote:
_______________________________________________
> From memory there's no way to limit the number of processes allowed aside from the size of the process table. The size of the process table is set at startup and can't be changed, so I guess the answer to your question is No - you have to spawn enough processes to run out. spawn(fun () -> erlang:hibernate(erlang, exit, [normal]) end, []) might help with the memory footprint a bit. > Cheers,
> On 2012-04-28, at 10:19 , Christian Kruse wrote:
>> Hi,
>> On 28/04/12 19:11, Kostis Sagonas wrote:
>>>> Is this possible? Or is there another solution I can use to test such
>>> Have you considered using the +P option of erl?
>> Yes, but since I want to reduce this limit only for one specific test
>> Greetings,
> --
> _______________________________________________
erlang-questions mailing list erlang-questi...@erlang.org http://erlang.org/mailman/listinfo/erlang-questions You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||