[Mono-list] HAZARD_TABLE_MAX_SIZE limit

Rodrigo Kumpera kumpera at gmail.com
Tue Mar 10 09:52:08 EDT 2009


On Tue, Mar 10, 2009 at 7:26 AM, NOYELLES <david.noyelles at cea.fr> wrote:

> Hi,
> After a certain amount of time (nearly 10-12 hours), a c# program running
> under linux using mono crash with the following error :
> ** ERROR **: file threads.c: line 355 (small_id_alloc): assertion failed:
> This program is highly solicited using remoting and I think that the
> garbage
> collector doesn't have time to clean all threads properly. I compiled mono
> from mono-2.2 sources and I find in mono/metadata/threads.c the assertion
> instruction and also the #define line for HAZARD_TABLE_MAX_SIZE, defined to
> 16384.
> So my question is why is this limit used, can I increase this limit, does
> it
> may have size effects ?
> Thanks
> David

The HAZARD_TABLE_MAX_SIZE imposes an artificial limit on the number of
outstanding threads.
But I really doubt it was your case, it's more likely to be a bug or the
small id code. Please fill a bug report
on this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090310/2f411dfe/attachment-0001.html 

More information about the Mono-list mailing list