Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » Memory leak issue with new update
Memory leak issue with new update [message #464334] Mon, 12 March 2012 22:11 Go to next message
kannies is currently offline  kannies
Messages: 78
Registered: December 2007
Karma: 0
Recruit
I seem to be experiencing the symptoms of a memory leak. Ie; after a period of time, the game.exe process hogs all the memory on my machine causing a complete system malfunction. Its requires a restart every 1/2 hour - 1 hour.
Correct me if i'm wrong but this is due to dynamically allocated memory not being re-allocated to the stack - though im not a programmer expert.

Is there anyway for me to provide more info? What log files do you need?
Re: Memory leak issue with new update [message #464346 is a reply to message #464334] Tue, 13 March 2012 06:00 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3809
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Well lets start with your OS and how much ram you have, what maps are being played, I'm sure they'll ask for more specific info later but until then lets get the basics out of the way.

Re: Memory leak issue with new update [message #464347 is a reply to message #464334] Tue, 13 March 2012 06:05 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

Is the memory usage gradually increasing or suddenly? Can you see what happens to the memory graph of task manager when you run Renegade in windowed mode?

Can you contact me on IRC/MSN/ICQ or similar? I can send you a custom build with memory debugging enabled.


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: Memory leak issue with new update [message #464645 is a reply to message #464334] Sun, 18 March 2012 20:02 Go to previous messageGo to next message
kannies is currently offline  kannies
Messages: 78
Registered: December 2007
Karma: 0
Recruit
4GB Mem on laptop.
OS Windows 7

Its taken a while for the issue to crop up. It tends to happen when I play for a long period ie more than 1 hour.

Attached is a screenshot. Th first task manager shows how much the memory drops when I end the game.exe process.

The 2nd task manager shows normal utilisation with a fresh new game.exe running. The memory then gradually increases over time.


[Updated on: Sun, 18 March 2012 20:03]

Report message to a moderator

Re: Memory leak issue with new update [message #464654 is a reply to message #464334] Mon, 19 March 2012 04:05 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

I've sent you a custom build to test in PM.

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: Memory leak issue with new update [message #464739 is a reply to message #464645] Wed, 21 March 2012 05:46 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3809
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
SilverDwn wrote on Sun, 18 March 2012 21:02

4GB Mem on laptop.
OS Windows 7

Its taken a while for the issue to crop up. It tends to happen when I play for a long period ie more than 1 hour.

Attached is a screenshot. Th first task manager shows how much the memory drops when I end the game.exe process.

The 2nd task manager shows normal utilisation with a fresh new game.exe running. The memory then gradually increases over time.




Whats the time period on those screen shots (IE, how many minutes/hours does it take to reproduce it).


Re: Memory leak issue with new update [message #464943 is a reply to message #464334] Mon, 26 March 2012 17:15 Go to previous messageGo to next message
Creed3020 is currently offline  Creed3020
Messages: 1438
Registered: February 2003
Location: Toronto, Canada
Karma: 0
General (1 Star)
It certainly looks like there is. I took this screenshot of task manager as the game closed (which BTW that doesn't right either now, as I need to use ctrl+shift+esc to get back to Windows from black screen) and look the memory drop. My system went from 2.75GB used to 1.4GB used.

index.php?t=getfile&id=14071&private=0
  • Attachment: mem_drop.PNG
    (Size: 10.61KB, Downloaded 208 times)
Re: Memory leak issue with new update [message #464962 is a reply to message #464334] Tue, 27 March 2012 02:42 Go to previous message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

The hotfix that was released today should fix this. Please report if this still happens.

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Previous Topic: Beta 4 "Exiting the game" issue
Next Topic: release
Goto Forum:
  


Current Time: Tue Nov 12 16:28:55 MST 2024

Total time taken to generate the page: 0.00799 seconds