method

stress=

v1_9_3_125 - Show latest stable - Class: GC
stress=(p1)
public

Updates the GC stress mode.

When stress mode is enabled the GC is invoked at every GC opportunity: all memory and object allocations.

Enabling stress mode makes Ruby very slow, it is only for debugging.