Hi,
The sblim-sfcc library uses a recursive function (__clone()) to clone CIM class method lists. When the getClass() API processes a CIM class containing an extremely large number of methods (5,000+ with constrained stack, 130,000+ with default 8MB stack), the recursion depth can exceed available stack space, causing a stack overflow and crashing the CIM client.
Proposed fix attached.