OVMS3/OVMS.V3/components/duktape/config/config-options/DUK_USE_GC_TORTURE.yaml

15 lines
352 B
YAML

define: DUK_USE_GC_TORTURE
introduced: 1.0.0
default: false
tags:
- gc
- memory
- development
- torture
description: >
Development time option: force full mark-and-sweep on every allocation and
in other chosen places to stress test memory management.
Using a low value (e.g. 3) for DUK_USE_MARK_AND_SWEEP_RECLIMIT is also
recommended.