ericfr 0 Posted January 25, 2012 (edited) Suma from CIT That said, we have started a development of a memory tracking tool tied to a specially crafted custom allocator today which will allow anyone to do either a recording of all the allocation in the game session or a snapshot of its current state and to send it to us for analysis. First version of the tool is ready for testing. Instructions attached in the archive. What I would like to receive now: - one mana.log taken during the game start (as soon as possible). This dump should be very small and its only purpose is to verify everything is working fine, and if not, to have a dump which can be debugged easily - second mana.log taken when a memory usage seems normal (e.g. right after the Warfare mission has started) - third mana.log taken when the memory usage seems abnormal (what is described in this issue). If everything goes well, this third dump should give us some insight about the issue Note: the tool should work with any game version supporting custom allocators, including 1.60 stable. I think even if the issue is considered resolved, it could be interesting to make a dump with older game build with the issue not resolved yet. https://dev-heaven.net/attachments/16440/Manalog.zip ---------- Post added at 21:17 ---------- Previous post was at 20:25 ---------- Some trouble, Run Arma2Co Windowed, Manalog.dll in the Dll folder. Analyze freezes the game and Mana.log is empty ? Ok my bad too big can't open with Txt. Edited January 25, 2012 by EricFr Share this post Link to post Share on other sites
suma 8 Posted January 25, 2012 Note: Mana.log is a binary file, and usually it is quite large. It contains no data which could be understood by a human, it needs to be processed at our side first, using the debugging information. Share this post Link to post Share on other sites
ericfr 0 Posted January 25, 2012 (edited) ManaLog One :http://www.mediafire.com/?ve6d7v2iytjdd9r 20mn to upload I tried to upload Mana2Log on Multiupload but Initializing upload never finish ! (too big on mediafire) Edited January 25, 2012 by EricFr Share this post Link to post Share on other sites
suma 8 Posted January 26, 2012 ManaLog One :http://www.mediafire.com/?ve6d7v2iytjdd9r20mn to upload I tried to upload Mana2Log on Multiupload but Initializing upload never finish ! (too big on mediafire) Functionality confirmed, I am able to analyze this fine. Share this post Link to post Share on other sites
maddogx 13 Posted January 26, 2012 Are any and all logs appreciated, or is it just a waste of time if the game is working well anyway? Share this post Link to post Share on other sites
suma 8 Posted January 26, 2012 Are any and all logs appreciated, or is it just a waste of time if the game is working well anyway? Now the basic functionality is confirmed, there is no need to send any more logs from a game is working normally. If you ever encounter a situation where you suspect a memory leak, or find a surprisingly high memory usage, and you are able to create a mana.log of it, be sure to send it. Share this post Link to post Share on other sites
sickboy 13 Posted January 26, 2012 Functionality confirmed, I am able to analyze this fine. Awesome! Share this post Link to post Share on other sites
ericfr 0 Posted January 26, 2012 If needed, Mana two Log, right after Takistan warfare mission has started : http://www.fileserve.com/file/tFVrt6r/mana2.log Share this post Link to post Share on other sites
sickboy 13 Posted January 26, 2012 I suppose packing it with zip, rar or 7z before uploading would save a lot of space, and time to upload and download ;-) Share this post Link to post Share on other sites
suma 8 Posted January 26, 2012 A significantly improved version will be available today, with some preprocessing done on logs, reducing the log size 10x. Share this post Link to post Share on other sites
gonk 0 Posted January 27, 2012 Is this tool only good for memory leaks ? Or can it be use to send back information on Server CPU load balance problems... I noticed that the bottleneck likes to move to different CPU's even though the mission has not changed...(it moves after the mission is restarted) If not, I will keep an eye out on the server for memory leaks.... Thanks Share this post Link to post Share on other sites
.kju 3241 Posted January 28, 2012 It seems this is the new version? https://dev-heaven.net/issues/27636#note-27 I'd say a simple BIKI page would a good idea. Share this post Link to post Share on other sites