SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
88 stars 18 forks source link

Huge RAM problem from 3.25.0.0 #360

Closed Kast2 closed 6 years ago

Kast2 commented 6 years ago

Since the 3.25.0.0 update I have noticed a big RAM usage on my Windows 10 laptop. The game switched to using MAXIMUM 2.5GB RAM on 8GB and 5GB without any reason (see screen). This results in very frequent random freeze and large loss of frame rates.

Screen: https://prnt.sc/k6duid

Trojaner commented 6 years ago

Do you have the same issue if you delete all workshop content and play singleplayer?

This might be caused by servers which are using too much workshop content.

N1GHTPATROL commented 6 years ago

• Unsub from all/unneeded workshop content on Steam • Delete the file "C:\Program Files (x86)\Steam\steamapps\workshop\appworkshop_304930.acf" • Delete the folder "C:\Program Files (x86)\Steam\steamapps\workshop\content\304930"

Kast2 commented 6 years ago

@Trojaner25 I apologise for the late response. However, the only contents I downloaded are 1 map (of my roleplay server) and a modpack (always of my roleplay that weighs about 1 GB).

We're talking about a laptop with a GTX 1050 and an Intel Core i7-7700HQ. A 3GB increase in RAM seems too much for me to blame the modpack, since before the update the game did not occupy more than 3GB.

Kast2 commented 6 years ago

@N1GHTPATROL Thank you, I will try the last 2 tips.

SDGNelson commented 6 years ago

Did those tips affect the RAM usage? I believe the only memory focused change in that update was making quite a few meshes non-read/writable CPU side which should have reduced usage if anything.

Kast2 commented 6 years ago

@SDGNelson I tried with the tips, and no one solved the problem. I would like to point out that I only installed a custom map with a weight of 30MB and a Modpack with a total weight of almost 900MB. These two mods are used by several players and out of about 50 only 2-3 have noticed a disproportionate increase in the use of RAM.

As a result it seems that the problem comes from the game...