Major Memory Leak inside of Development Build of Bloxy Kart. How to fix?

Greetings! So I have a major problem.

I rewrote a lot of the main components of Bloxy Kart for the v4.0 update, and I found out that my M1 MacBook Air started to get really hot, throttle, inside of Bloxy Kart.

Let’s compare the latest version of Bloxy Kart to the most recent version.

Bloxy Kart Version Memory Usage Experience
v3.9 Lobby 951 MB Good, no lag at max graphics
v4.0 Lobby 1.75 GB Big dip in FPS, can’t have Studio opened
v3.9 Time Trials 1.05 GB Good, no lag at max graphics
v4.0 Race 1.54 GB Good on my device, bad on @xander5610’s computer

I remember a while back, I was optimizing the UI to require less LocalScripts, and adopted CollectionService.

Now, somehow the Memory Usage is really high.

How can I fix this? I do not want to delay v4.0 again due to an issue. Last time it was delayed, it was because it felt like v3 with new UI.

Thanks in advance.

1 Like

Alright, I guess I was over-reacting. A bunch of popular games have the same memory management as mine, so I think I am good.

That just means that Bloxy Kart is on par with other games, perhaps?

1 Like