UR5/CB3 Unknown Error - ValueStack full, capacity = 1048576 needed Size = 1048685


over the last two weeks I started experiencing the ValueStack error.

Versionnumber: on a UR5/CB3

I have been running my programs on this version perfectly fine for the last few months, but now, after a small update (added a new function), I have started getting the ValueStack errors. The total number of lines according to NotePad++ below 2000 lines.

In the Prestart I just initialize functions and variables. The Main program consists of a switch case that cycles through the functions while a few threads check various input/output signals for status of the system (boxes fully loaded, etc).

Can anyone help me with that? I have not found good solutions so far.