r/unity • • 1d ago

Quick Question

[FIXED] I'm building a new unity game and I noticed my comupter was running really slow and I looked in task manager and it was using 17gb of ram out of my 32gb. Any suggestions?

0 Upvotes

9 comments sorted by

1

u/JaggedMetalOs 1d ago

Do you have a lot of large assets? 

1

u/Double-Ear7796 1d ago

No, All I have is a little main menu 4 scripts and camera settings with a purple plate 500x500.

1

u/JaggedMetalOs 1d ago

Restart the compute and see how much it uses opened fresh. 

1

u/Double-Ear7796 1d ago

just restarted ill try now thanks.

1

u/JaggedMetalOs 1d ago

For some reason reddit has autofiltered your last reply, but if memory usage increases after opening then there must be a memory leak in one of your scripts or in an asset/package installed in your project. 

Unity has a Unity Memory Profiler package you can install to investigate memory usage. 

1

u/Double-Ear7796 1d ago

I deleted it since I fixed it

1

u/positivcheg 1d ago

Pfff, my Unity editor on macOS is constantly using 1000% CPU and hangs my whole OS. Seeing this shit for last year since Unity 6000.

1

u/pschon 1d ago

Using roughly half of your RAM is not going to make your computer run slowly. You literally have 15GB free RAM sitting idle, available for anything that would like to use it. If you were using all of it and the work you tried to do required even more, that would be another question.

(note that this is not tryingn to say that your computer is not running slow. It very well might be. But the reason is not your RAM usage. You'll need to look elsewhere for the actual problem.)

1

u/taisui 1d ago

Restart the editor