Skip to main content

Compiler Error C0106

Message: Out of retain memory: Variable '<variable name>', <byte size> bytes. (largest contiguous memory gap <byte size> bytes)

Possible error cause: More retain memory is used than is available on the PLC. It is also possible that the retain memory is too fragmented due to incremental compilation.

Error correction: Use the Clean command for fragmenting the memory. This will force all data and the code to be reallocated at the next compilation.