Comments (3)
I did manage to reproduce this on my Windows 7 VM, but I'm not sure what's causing it. MSVC doesn't seem to have as many useful memory leak tools as Linux environments (valgrind, heaptrack, etc).
I tried out MSVCRT's built-in memory allocation reporting, and it did find one leak in AesCAPI_NG (only used when handling files that have encryption).
I suspect that if the other leaks are in fact caused by rom-properties and aren't weird caching behavior in Explorer, it's likely a Windows resource leak and not something that can be detected by MSVCRT. Will look for resource leak tools next.
from rom-properties.
Found something using WinDbg's !htrace command.
https://ofekshilon.com/2014/07/08/debugging-handle-leaks/
Will post results once I'm done analyzing it.
from rom-properties.
...and it seems I've hit a roadblock. What I thought were leaks was actually WinDbg logging both file open and close. Tried another tool and it showed many known memory leaks in Windows components, but nothing in rom-properties.
I suspect it might be a problem with IExtractIcon using up too much memory, since Explorer isn't really designed for per-file icons. Disabling IExtractIcon will still allow for thumbnail previews. I'll look into doing this in rp-config and seeing if it helps with this problem.
from rom-properties.
Related Issues (20)
- Could you add support for PS2 ISO's compressed to zso and cso? HOT 7
- Installing on ARM64 shows an error that the AMD64 version of the DLL couldn't be registered HOT 8
- ROM Properties page displays incorrectly with StartAllBack installed HOT 3
- Wrong region listed on a GameCube ISO? HOT 4
- PS3/PS4/Vita PKG file support? HOT 2
- No Thumbnails for some systems in KDE?
- Can you add italian to the supported languages in Crowdin? HOT 1
- Dolphin not showing rom properties in preview settings HOT 4
- Crash when used inside Directory Opus HOT 5
- Building on NixOS returns "invalid system call"
- [Feature Request] Add support for Palm OS apps HOT 11
- [Feature Request] Add Hash and Other Information HOT 8
- [Bug Report] Extension missing from Dolphin on Plasma 6 HOT 8
- KF5: Crashes Baloo continuously if assertions are enabled HOT 2
- [Feature Request] CDI Support HOT 4
- [Feature Request] UltraISO .isz compressed ISO support. HOT 2
- Exports/Imports table in win32 shell ext page showing blank rows HOT 15
- C-12 - Final Resistance (USA) (Track 2) HOT 2
- Win32 UI frontend: Localized multi-line strings aren't displayed correctly (was: Line feeds not working in descriptions for GameCube titles with BNR2 banner) HOT 5
- Extracting disc images from rp-cli?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rom-properties.