#65 coUnitRunner Error: no more free global space

v1.2.0.0
open
nobody
None
2024-02-13
2024-02-12
elpanoo1
No

Hello together,

I have followed the tutorial for a first simple unit test and got the following error while compiling:

[INFORMATION] co♻e - a unittest framework for codesys, 1.2.0.0 (www.co5e.org): GVL_coUnit(line 33): co♻e - A unittest framework for CODESYS based on TcUnit. Forked with kind permission by Jakob Sagatowski and contributors. MIT Licensed.
[ERROR] co♻e - a unittest framework for codesys, 1.2.0.0 (www.co5e.org): GVL_coUnit(line 4): C0106: No more free global memory available: Variable 'coUnitRunner', 77728400 Bytes (Largest contiguous free memory 109824). Incremental translation or adding variables to the persistent variable lists could generate fragmented memory. Execute the "Reorder list and clean up gaps" command to defragment the list of persistent variables or "Translate, clean up" to reallocate the memory for other data and code.

Any ideas on how to resolve this error?

Thank you in advance!

1 Attachments

Discussion

  • hermsen

    hermsen - 2024-02-12

    Hi,

    Yes it seems the program will not fit in your PLC memory.
    To resole this you can use the parameters in the CoUnit library to limit the various array sizes.

     
    • elpanoo1 - 2024-02-13

      Can you give me an example on how this should look like?

       

Log in to post a comment.