Control Builder M unhandled exception while compiling
Has anybody an idea where the problem could be loacated?
1.5 Gig is a pretty big application. Why so large ?
Can you go to Test mode ? This will prove if the application actually compiles.
You've also got some libraries you dont appear to need . The CI853 and Serial Lib dont appear to have any associated hardware in the controller. Remove any libraries you dont need.
If you use strings - try to replace with constants. Always always always specify the string size ..... e.g. string for 20 chars, otherwise you get 140 chars by default and you can burn a surprising amount of memory.
Look for the opportunity to pass values into function blocks "by_ref" which prevents parameter copying and also reduces memory.
If Control Builder crashes during a download then yes, it can corrupt the memory area in the controller and you need to cold start again.