Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002027Zandronum[All Projects] Bugpublic2014-12-16 01:242024-03-02 07:03
Reporteribm5155 
Assigned To 
PrioritynormalSeverityminorReproducibilitysometimes
StatusclosedResolutionno change required 
Platform64BITSOS8OS Version8.1
Product Version1.3 
Target VersionFixed in Version 
Summary0002027: Memory Leak with 1.3?
DescriptionSo, most of the times that I'm playing zandronum online (normaly on bagel horde or all out war server) I get a warning (please close all programs because there's no enough memory free) so I check the task manager, zandronum says it's using 500mb, and there's no way other softwares on the list use almost all the memory, then I check the memory use, it's like 7,9 of 8gb being used. and then I close Zandronum and the memory goes back to 2gb in use, so, is there some memory leak with 1.3? because I never got this problem with 1.2 :S

Example 1:
ram before zan demo: 2,3GB, zandronum opened: 3,4GB (but it says zandronum is only using 333mb on process area).

idk if this should be here or on the forum, but, here I go :D
Additional Information-play for like 1 or 2 hours a bagel horde or all out war server.
-You will get a warning asking you to close some apps.
-record the memory (on performance area) before you open it and before you close it.
Attached Files

- Relationships

-  Notes
User avatar (0011063)
Watermelon (developer)
2014-12-16 01:29

Does this happen with any other mod? Can you play it for 1 hour and check your memory usage? We need more info.
User avatar (0011064)
ibm5155 (reporter)
2014-12-16 01:30
edited on: 2014-12-16 01:40

edit: and right now, when I was watching the demo of my recording, somehow, the zandronum icon disappeared from the start bar area O_o, but it's running, and the only way I open it is by alt-tab O_o well.
This is what happened
'http://i.imgur.com/AOXDi0A.png [^]'
EDIT:
Well, I'll try to play jump maze tomorrow, or maybe some vanilla doom...

Also, here's the all out war demo
'http://www.mediafire.com/download/xdwtab4amtdstyn/aow+2.1.rar [^]'
And here's where you can get the wads:
grandvoid.sickedwick.net/wads/

I don't know if you can reproduce it or not by the demo, but, it's there :)

User avatar (0011065)
Edward-san (developer)
2014-12-16 02:17

Is it there any difference between software and GL regarding this?
User avatar (0011068)
Watermelon (developer)
2014-12-16 16:36

Are you 100% sure this isn't due to something else on your system?
User avatar (0011069)
ibm5155 (reporter)
2014-12-16 22:30

Yes I'm 100% sure...

Well, I tested a zombie horde server with opengl and software.
without zandronum the system was at 3GB, with zandronum at software it stayed at 3,5 - 3,6Gb (zandronum was using 512mb as the process area said), I played like one hour and it stayed on the same way,
 Then I changed to opengl, it started with 3,5gb, then it went to 3,7 , then 3,5 and then 4gb, then 4,3gb, then 4,7gb and then 5gb, and then I stoped...

Plus, I'm using the onboard gpu (intel hd4000) I know it uses the main ram for the video card,but as I said, I never got this problem before.
 I'll try to test zandronum with the amd gpu, so there'll be no gpu using the main ram
User avatar (0011094)
ibm5155 (reporter)
2014-12-28 00:49

Ok, it happened again, since 3 or 2 hours playing bagel horde online.
BUT, this time was different, it poped a windows message saying that I should close zandronum because there was not enough free memory.
And this time I was using the amd hd8870m so no normal ram to vram.
The weirdest thing I noticed was, the ram was 4.7 of 8gb free, and zandronum was using 350mb on process area, but the weirdest thing was the swap, it was using 10gb of 9.8gb WTF O_o...

 I was taking some screenshots but at one point, the screen got black, an error message appeared and the windows made a kind of forced logoff (so now I dont have the pictures)...

Why this only happen with zandronum? and, why I never got this problem with 1.2 D: (I never got that kind of message since skulltag time :s )
feel free to ask anything

Before I miss, It was using opengl and not software
User avatar (0011095)
Frits (reporter)
2014-12-28 10:42

I have a similar problem at times. I can fix it by pressing alt+enter maybe this will work for you too for now.
User avatar (0011096)
ibm5155 (reporter)
2014-12-28 11:23
edited on: 2014-12-28 11:23

hmm I never tried alt+enter (If I remember it switch from full screen to windowed and vice versa right?).

Hmm, Is there a good software to track how many ram and swap zandronum is using? (vram would be cool to see too)

User avatar (0011098)
Torr Samaho (administrator)
2014-12-28 14:45
edited on: 2014-12-28 14:46

Does the problem happen offline? If so, go back to 1.2 and check whether it really doesn't happen in 1.2. Something may have changed on your system that causes this to happen, so it's worth to check whether 1.2 is affected now.

User avatar (0011161)
ibm5155 (reporter)
2015-01-01 14:46

It's not offline but here's finally, a screenshot before I run zandro and after windows say it's out of memory D:
'http://i.imgur.com/9rPOotZ.png [^]'
This time I was using the intel as gpu (and before I close zandronum, it said it was using almost 2gb for the gpu)
so it would be 4.7GB free before zandronum and 600mb free after the test

so, from that 4.7gb free, it would rest 2.7gb, but, zandronum says it's using only 580mb right? :S

Also, could it be related to the fact that I'm recording a demo file? (I'll test without recording to see if it crash too)
User avatar (0011184)
Torr Samaho (administrator)
2015-01-01 18:33

So this only happens online? Please confirm that it happens on a local server with 1.3 and then check whether 1.2 is affected.
User avatar (0011639)
ibm5155 (reporter)
2015-02-08 20:59

Problem solved, the problem was the filters, I noticed with the new way to see the amd gpu vram use, I saw that it was reaching really fast 2gb of ram, and after that I think it may used some ram cache for textures...
and then I just moved HQ4X to none and my vram went from 2058mb to 300mb :D

It may be not a problem, but shouldn't vram drop when a map is changed? I was on who dun it doing the tests and the vram was just increasing each map D:

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2014-12-16 01:24 ibm5155 New Issue
2014-12-16 01:29 Watermelon Note Added: 0011063
2014-12-16 01:30 ibm5155 Note Added: 0011064
2014-12-16 01:30 Watermelon Status new => feedback
2014-12-16 01:40 ibm5155 Note Edited: 0011064 View Revisions
2014-12-16 02:17 Edward-san Note Added: 0011065
2014-12-16 16:36 Watermelon Note Added: 0011068
2014-12-16 22:30 ibm5155 Note Added: 0011069
2014-12-16 22:30 ibm5155 Status feedback => new
2014-12-28 00:49 ibm5155 Note Added: 0011094
2014-12-28 10:42 Frits Note Added: 0011095
2014-12-28 11:23 ibm5155 Note Added: 0011096
2014-12-28 11:23 ibm5155 Note Edited: 0011096 View Revisions
2014-12-28 14:45 Torr Samaho Note Added: 0011098
2014-12-28 14:45 Torr Samaho Status new => feedback
2014-12-28 14:46 Torr Samaho Note Edited: 0011098 View Revisions
2015-01-01 14:46 ibm5155 Note Added: 0011161
2015-01-01 14:46 ibm5155 Status feedback => new
2015-01-01 18:33 Torr Samaho Note Added: 0011184
2015-02-08 20:59 ibm5155 Note Added: 0011639
2024-03-02 07:03 Ru5tK1ng Status new => closed
2024-03-02 07:03 Ru5tK1ng Resolution open => no change required






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker