From: SourceForge.net <no...@so...> - 2006-12-19 13:26:27
|
Bugs item #1612149, was opened at 2006-12-09 05:18 Message generated for change (Comment added) made by geoffthemedio You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=544942&aid=1612149&group_id=75752 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Client Group: Latest Subversion Status: Open Resolution: None Priority: 5 Private: No Submitted By: Geoff Topping (geoffthemedio) Assigned to: Nobody/Anonymous (nobody) Summary: Memory Leak? Initial Comment: By watching the Windows XP Task Manager's "Mem Usage" statistic, a possible memory leak in FO's client becomes apparent. I'm not sure how accurate this is, or (see below) how it's dealing with disk caching, but regardless, there seems to be a steady increase in memory usage while just looking at the galaxy map, doing nothing else. On the main splash screen, doing nothing, Mem Usage is stable at 37484 K. In this test, music is off and sound is on, though sounds being heard (due to button rollovers) seem to have no effect on Mem Usage. Single player game started - sit looking at map. Starting around 40000 K, increasing ~100 K / s Time - Mem Usage 4:55 - 50000 K 4:58 - 60000 K 5:04 - 85000 K 5:08 - 100000 K Then, I minimized the FO window, and Mem Usage dropped to 3452 K, then immediately started growing again ~100 KB / s (while still minimized). Since (after restoring later) FO doesn't seem to have to reload all art, I assume some odd caching is going on here. For the purposes of this bug, I assume this doesn't matter. Restoring the FO window causes no significant change that can be readily distinguished from the 100 K / s growth, compared to what it was immediately before restoring (ie. growth over time above 3400 K ) Reminimizing returns Mem Usage to ~3400 K ---------------------------------------------------------------------- >Comment By: Geoff Topping (geoffthemedio) Date: 2006-12-19 05:26 Message: Logged In: YES user_id=913462 Originator: YES C++, though there's been some difficulty getting it to compile on Windows without MSVC adding unnecessary .NET requirements to run the binary. If you're getting poor performance, that's not necessarily related to a potential memory leak. Please submit a more detailed bug report outlining when and on what screens and in what way "everything is laggy". ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2006-12-19 05:21 Message: Logged In: NO I also tried RC5 and everything is laggy in Windows. Is it written in .NET or C++? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=544942&aid=1612149&group_id=75752 |