Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Suspected Memory Leaks

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> Suspected Memory Leaks Page: [1]
Login
Message << Older Topic   Newer Topic >>
Suspected Memory Leaks - 6/25/2014 2:16:12 PM   
Feltan


Posts: 1160
Joined: 12/5/2006
From: Kansas
Status: offline
I have observed in large scenarios (> 1000 AU), that over time game performance diminishes. I tend to run games a long time (>4 hours). Also, when one saves such a large-long game, quits the application, and then restarts the application the performance will dramatically improve.

From the outside looking in, such behavior is indicative of a memory leak with the application.

I do not have the tools or access to evaluate this for you. However, just a heads up that I suspect you have garbage building up in memory as a large scenario progresses.

Regards,
Feltan
Post #: 1
RE: Suspected Memory Leaks - 6/25/2014 4:35:06 PM   
chesmart


Posts: 908
Joined: 1/14/2007
From: Malta
Status: offline
Agree Feltan have the same prob on larger scenarios

(in reply to Feltan)
Post #: 2
RE: Suspected Memory Leaks - 6/25/2014 4:56:04 PM   
Dimitris

 

Posts: 13282
Joined: 7/31/2005
Status: offline
Thanks guys. If you can post up the scenarios under which you are observing this issue it would be great. (I suspect this result from actions that may be scenario-specific, e.g. excessive pathfinding). We can then investigate this as time and resources allow.

Thanks!

_____________________________


(in reply to chesmart)
Post #: 3
RE: Suspected Memory Leaks - 6/26/2014 11:10:29 AM   
Feltan


Posts: 1160
Joined: 12/5/2006
From: Kansas
Status: offline
Sunburn,

Attached per your request. However, my experience/observation is that any large scenario run for a long time will exhibit this behavior.

I hadn't thought about path finding. The events I have noticed were after large engagements, and thought perhaps the app was not cleaning up destroyed units memory allocation -- especially guided missiles. But that is just a hunch.

I am not sure what language you code this game with, but if you don't have auto clean-up (like in C or C++) you are bound to get some leakage. Even if you do have auto cleaning, it happens with larger programs all the time, and it is a PITA to find an fix.

In the attached scenario, you will need to run/play it for around 4-6 hours before you note that performance is bringing to its knees. Save, restart the app and load the save. Everything is perky again.

Regards,
Feltan

Attachment (1)

(in reply to Dimitris)
Post #: 4
RE: Suspected Memory Leaks - 6/26/2014 11:13:43 AM   
Dimitris

 

Posts: 13282
Joined: 7/31/2005
Status: offline
Thank you!

< Message edited by Sunburn -- 6/26/2014 12:14:06 PM >


_____________________________


(in reply to Feltan)
Post #: 5
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> Suspected Memory Leaks Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

2.860