Structure occupies memory cell
Hi support line!
When I created new pump in Data type. It showed error with " The Structure occupies 65544 memory cell, whereare only 65534 are allowed ". I checked POU in Statistic, it only counted 17335 (max:65534), not 65544 like error text. So how to correct problem? And how to check correct POU?
Voted best answer
I am not so sure you refer to a Data Type (i remember the Error would then be like "too many variables", not "memory cells") or really a POU.
But in any case, as far as i know the only way to correct this is to split the Object (POU in your case), e.g. make two Blocks/Applications and Data Types.
The CBM help says for the Compiler Statistics: "The values for memory consumption are approximations...", so this probably explains the difference you see...?