MantisBT - VCMI |
View Issue Details |
|
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. |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | massif.out.16383 (190,371) 2015-12-15 09:31 https://bugs.vcmi.eu/file_download.php?file_id=2401&type=bug massif.out.26569 (242,386) 2015-12-15 09:31 https://bugs.vcmi.eu/file_download.php?file_id=2402&type=bug |
|
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 | bug_revision_view_page.php?bugnote_id=6804#r3260 |
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 |
Notes |
|
(0006598)
|
SXX
|
2016-08-31 02:08
|
|
Just in case this one still there. |
|
|
|
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
|
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
|
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
|
2016-10-02 14:08
|
|
|