Anonymous | Login | 2024-11-21 09:25 UTC |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0002349 | VCMI | GUI - PreGame | public | 2015-12-15 09:28 | 2024-01-15 22:21 | ||||||||
Reporter | SXX | ||||||||||||
Assigned To | SXX | ||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | resolved | Resolution | fixed | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | 0.98e | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0002349: Huge memory leak on opening / closing load save menu | ||||||||||||
Description | Problem appear both in PreGame and in game. Looks like and according to Valgrind's Massif most of memory loss because std::vector of CTypeList information don't get deleted. In the end it's all linking to SelectionTab::parseGames, but leak is likely deeper. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files | massif.out.16383 [^] (190,371 bytes) 2015-12-15 09:31 massif.out.26569 [^] (242,386 bytes) 2015-12-15 09:31 | ||||||||||||
Notes | |
(0006598) SXX (administrator) 2016-08-31 02:08 |
Just in case this one still there. |
(0006803) vmarkovtsev (developer) 2016-10-02 13:36 |
I cannot reproduce this... MB 107.7^ ::::::: | @:::::@::@:::::::::@:::::@::::::::#: ::::::::::@::::::@:::::@::: | @:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: | @:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: | @:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: | @:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: | @@:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: | @@:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: | @@:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: | @@:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: | @:@@:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: | ::@:@@:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: | ::@:@@:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: | ::@:@@:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: | ::@:@@:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: | @::@:@@:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: | @::@:@@:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: | @::@:@@:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: | @::@:@@:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: | @::@:@@:::: @: @:::::: ::@:::::@::::::::#: :::::: :::@::::::@:::::@::: 0 +----------------------------------------------------------------------->Gi 0 14.52 I open load menu, close it and still get 100 MB memory consumption. I clearly see that in your case it goes up to 300 in the end. MB 289.8^ # | # | # | # | # | # | # | @@@# | @ # | @ # | @@ :::: ::: :::: ::: :: ::::@ # | @ ::::::::::::::: : ::::::::::::: : :::::@::::::::::: :::@@:::: : @ # | @ : ::: :::: ::: : :: ::: :::: : : :::: @:: :::: : : :: @ :::: : @ # | @ : ::: :::: ::: : :: ::: :::: : : :::: @:: :::: : : :: @ :::: : @ # | :@ : ::: :::: ::: : :: ::: :::: : : :::: @:: :::: : : :: @ :::: : @ # | :@ : ::: :::: ::: : :: ::: :::: : : :::: @:: :::: : : :: @ :::: : @ # | :@ : ::: :::: ::: : :: ::: :::: : : :::: @:: :::: : : :: @ :::: : @ # | :@ : ::: :::: ::: : :: ::: :::: : : :::: @:: :::: : : :: @ :::: : @ # | :@ : ::: :::: ::: : :: ::: :::: : : :::: @:: :::: : : :: @ :::: : @ # | :@ : ::: :::: ::: : :: ::: :::: : : :::: @:: :::: : : :: @ :::: : @ # 0 +----------------------------------------------------------------------->Ti 0 1.730 Something special in the file list? Can you archive your save games directory and attach it? |
(0006804) SXX (administrator) 2016-10-02 13:44 edited on: 2016-10-02 13:54 |
It's wouldn't be easy, but I'll upload it. I have 5GB of save files (more than 500 saves) :-) |
(0006805) SXX (administrator) 2016-10-02 13:51 |
BTW after we fixed multiple leaks and you fixed bonuses problem become less noticeble, but it's still there. In past it leaked like 20MB even with few hundreds of saves. |
(0006806) SXX (administrator) 2016-10-02 14:08 |
Ok here you go: http://fileshare.arseniyshestakov.com/SXXSaves.7z [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2015-12-15 09:28 | SXX | New Issue | |
2015-12-15 09:31 | SXX | File Added: massif.out.16383 | |
2015-12-15 09:31 | SXX | File Added: massif.out.26569 | |
2016-08-28 04:08 | SXX | Assigned To | => SXX |
2016-08-28 04:08 | SXX | Status | new => assigned |
2016-08-31 02:08 | SXX | Note Added: 0006598 | |
2016-10-02 13:36 | vmarkovtsev | Note Added: 0006803 | |
2016-10-02 13:44 | SXX | Note Added: 0006804 | |
2016-10-02 13:51 | SXX | Note Added: 0006805 | |
2016-10-02 13:54 | SXX | Note Edited: 0006804 | View Revisions |
2016-10-02 14:08 | SXX | Note Added: 0006806 | |
2024-01-15 22:21 | Ivan | Status | assigned => resolved |
2024-01-15 22:21 | Ivan | Resolution | open => fixed |
Copyright © 2000 - 2024 MantisBT Team |