diff --git a/src/m_obj.c b/src/m_obj.c
index 2167638361d36c6ed9a2880798a437baa510e4b7..d22e90406b364c151d36e53b69234a49676261e4 100644
--- a/src/m_obj.c
+++ b/src/m_obj.c
@@ -308,7 +308,7 @@ void obj_init(void)
 /* --------------------------- outlets ------------------------------ */
 
 static int stackcount = 0; /* iteration counter */
-#define STACKITER 1000 /* maximum iterations allowed */
+#define STACKITER 10000 /* maximum iterations allowed */
 
 static int outlet_eventno;