A program I made is lagging pretty bad in release mode but works fine in debug mode. The program is quite complicated and it uses several loops and even loops within loops. All ui elements of the app lag even simply clicking on a dropdown list, scrolling is super slow and choppy. Oddly enough everything fixes by itself in about 2-3 minutes of runtime. All objects work and it scroll views work like normal. There does not seem to be in errors programming wise. Debug mode works perfectly the entire time. Its almost like something happening in the background and its slowing everything down. If you leave the app open, the problem does not return. It only happens for the first few minutes. It may or may not be related but I first noticed the problem when I upgraded to 12.50 of B4A. I'm unsure what version I had previously but it was probably around 6 months out of date.