[Mono-list] HAZARD_TABLE_MAX_SIZE limit

NOYELLES david.noyelles at cea.fr
Tue Mar 10 06:26:44 EDT 2009


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:
(id < HAZARD_TABLE_MAX_SIZE)

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

-- 
View this message in context: http://www.nabble.com/HAZARD_TABLE_MAX_SIZE-limit-tp22431484p22431484.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list