| カテゴリ | 重要度 | ステータス | 解決状況 | 登録日時 | 最終更新 |
|---|---|---|---|---|---|
システムコア | 中 | 解決済み | 修正済み | 2021-11-24 06:53 | 2021-11-26 21:02 |
| テスター | hap | 担当者 | galibert | ソース | |
| バージョン | 0.237 | 発生バージョン | 0.200 | 修正バージョン | 0.239 |
| 修正コミット | a7e18d4 | プルリク | |||
| フラグ | |||||
| セット | emumem | ||||
| セット詳細 | |||||
| 概 要 | ハードリセットするとメモリリークする。 | ||||
| 詳 細 | There's a big memory leak after doing a hard reset (Shift F3) | ||||
| 再現手順 | - open Windows taskmanager to have a look at MAME's memory usage - start a machine that allocates a lot of memory, for example: mame.exe sun4_110 -window -ui_active - look at memory usage and see it increase after each time you press Shift+F3 - eventually (after multiple GB total allocated), may get a crash: Caught unhandled St9bad_alloc exception: std::bad_alloc The crash is more likely to happen with a 32bit build. Note, which machine/game you start, does not matter. mame.exe pacman also leaks memory (much less since it doesn't allocate a lot), do Shift+F3 20 times and memory usage has doubled in pacman's case The memory leak also happens if you restart the machine from MAME's internal UI, so: mame.exe -> select sun4_110 -> exit back to UI -> select sun4_110 -> exit back to UI -> ... | ||||
| 追加情報 | |||||
| 添付ファイル | |||||