Page MenuHomeFeedback Tracker

(Stress test) Memory leak.
Need More Info, NormalPublic

Description

While testing the Stress test build, the memory usage kept going up to the point that i need to restart the build.

Offline mode: Its increasing while doing nothing or moving.
Online mode: Its increasing while moving.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 7 x64
Operating System Version
6.1 Build 7601
Category
Performance
Steps To Reproduce

Walk or run in any direction.
Look at ram usage.

Additional Information

Event Timeline

Geez changed the task status from New to Need More Info.Apr 26 2018, 10:33 AM
Geez added a subscriber: Geez.

Hello leeroyevans and thank you for the report.
Do you ever experience this issue on the 0.62 version as well? Or is it exclusive only to the stress test branch?
Regards,
Geez

I never tried 0.62.

Geez added a comment.Apr 26 2018, 11:08 AM

Hello lerroyevans.
Can you please try on the stable (0.62) branch as well and let us know if you experience the same issue in there?
Regards,
Geez

Sure, but right now i cant because i need to download it. But i will give it a try.

lerroyevans added a comment.EditedApr 27 2018, 9:24 AM

Sorry if it took so long to respond. I tried 0.62 stable and the memory usage never gets over 4 100 mb even after 30-50 mins of gameplay.

I tried the single-player mode that you guys uploaded. The ram usage keeps increasing even when i am not moving, i was wrong that it was caused by walking around.

The stress test builds gets to 6 gb of ram and more, i am gonna try to upload a video.

lerroyevans updated the task description. (Show Details)Apr 27 2018, 12:14 PM
lerroyevans edited Steps To Reproduce. (Show Details)
Geez added a comment.May 10 2018, 1:54 PM

Thank you lerroyevans.
Have you also tried if you experience this issue when connected to a stress test server? As the singleplayer client can be more demanding due to everything being handled by the client.
Regards,
Geez

Yes, i tried multiple stress tests. The ram usage was maxed after 30-60 mins.

lerroyevans updated the task description. (Show Details)Jun 5 2018, 7:39 AM
lerroyevans edited Steps To Reproduce. (Show Details)

Still happening in Stress test #19. Walking around for 30-60 mins at the same location is still maxing my memory. (DayZ is using more than 6GB out of my 8GB of ram).

I heard you guys may have fixed the problem in stress text #20, im gonna report back soon if it is indeed fixed.

lerroyevans added a comment.EditedJun 8 2018, 10:29 PM

Sadly the memory usage was being maxed during stress test #20. Today i will try stress test #21.

Sad that you guys have released experimental without fixing this issue.

I tried stress test #35 and the issue is still happening, the memory usage keeps increasing the more i am moving, i have a theory that it may be a resources management problem since the memory usage isnt increasing while i am standing at the same position for 5 mins.

This comment was removed by lerroyevans.

Thank you lerroyevans.
Have you also tried if you experience this issue when connected to a stress test server? As the singleplayer client can be more demanding due to everything being handled by the client.
Regards,
Geez

Is using a memory cleaner bannable? It seems its the only solution for me but i dont want to be banned.

This comment was removed by lerroyevans.

The memory leak seems to be caused by the assets not being removed from the memory when they arent used.

I asked to some people who plays dayz on windows 10 and the issue seems to not be present on their computer. It may be caused by windows 7.

I got this issue on stress test .148278

eats ram then swap, 12gb.

Geez added a comment.Aug 23 2018, 2:42 PM

Hello lerroyevans.
Does this issue persist even if you delete the contents of your C:\Users\*username*\Documents\DayZ folder (not to be confused with the dayz appdata folder)? Also are you using any launch parameters on the in game client? If so, try to remove those as most are outdated and cause issues with the game.
Regards,
Geez

lerroyevans added a comment.EditedAug 24 2018, 3:32 PM

Im gonna try stress test #41 right now after deleting the content of the DayZ folder in documents and i will report back if it keeps happening. Also i dont have any launch parameters.

I recently tried to uninstall and reinstall dayz to see if it could fix the issue, sadly nothing changed.

Sadly, i didnt have the time to connect to a server for stress test #41 since they just closed. But i heard from twitter the servers may be reopened today so i will try later.

I tried stress test #41 and the memory leak is still present even if i delete the content of my dayz folder in documents. I asked to some players in the game if the issue is happening on their side, one of them said dayz never uses more than 3 gb of ram and he uses windows 10 64 bit pro, i asked someone else who is on windows 10 and he said dayz uses 7 gb of ram at the moment i asked him.

https://imgur.com/a/dQgFnsd i had to close dayz at that point, my computer started to become slow.

Ye it eats much more RAM than experimental. Crashes whole game had to increase swap. Issue has stopped then. Guess it's not as much leak as huge usage of ram.

lerroyevans added a comment.EditedAug 26 2018, 3:10 AM

I tried to increase it since you suggested it and sadly, it changed nothing for me.

Geez added a comment.Aug 27 2018, 10:57 AM

Thank you for the update.
Have you tried to disable every single application running in the background on your computer and then launching DayZ to see if it has any effect on the issue? Also, have you tried to re-install / update your video drivers? If not, please try and let us know if the behaviour of the issue has changed.
Regards,
Geez

I close every programs i can when playing dayz 0.63 (except for steam) and the issue is still happening. I will try to update my GPU drivers to see if it fixed the issue.

I have good news, i downloaded the newest driver and reduced my settings using the games options menu and the settings.DayZProfile at the same time, the game was using 6.25 gb of ram at one point but when my games session hitted 1 hour and 10 minutes it dropped back to 5.8 gb of ram. I will try again while using the default settings.DayZProfile and report back if i still max out my ram.

I am gonna upload the settings.DayZProfile i used.

Alright, i just tried the game with the default settings.DayZProfile and i maxed out my ram again. Even if the graphic options of the ingame menu were set to the lowest. Here are the changes i did to the settings.DayzProfile:

TexMemory = 4 to 0
sceneComplexity = 200000 to 100000
viewDistance = 2200 to 2000
preferredObjectViewDistance = 1375.8242 to 1175.8242
terrainGrid = 50 to 40

Just in case, i will upload the settings.DayZProfile that i used to max out my ram.

Beta has been released and you guys havent fixed this issue, i am really sad, i cannot play the game anymore because of this problem.

Geez added a comment.Nov 9 2018, 11:59 AM

Hello lerroyevans.
Have you tried to completely re-install the game? If not, can you try and let us know if it has any effect on the issue you are experiencing? Also, is your computer overclocked or does it run on standard settings?
Regards,
Geez

Same problem here,since first .63 version game is unplayable for me
.62 worked great

I reinstalled the game everytime a new version came out (even for 0.63.149525). I even deleted everything from the dayz folder in document and appdata. Nothing is overclocked on my pc.

VentHorror removed a subscriber: VentHorror.
Geez added a comment.Jan 8 2019, 3:19 PM

Hello lerroyevans.
Are you still experiencing this issue in the 1.0 version? And have you customised your page file settings in Windows by any chance? If so, does the issue also occur on the default settings?
Regards,
Geez