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)
- [Feature Request] Add support for WUA Wii U games HOT 2
- Alpha64 binaries are showing up as Unknown HOT 1
- Errors in KDE HOT 23
- Ubuntu 22.04 "Focal": KF5: Verify that thumbnails work (JSON loader, but no ThumbnailCreator) HOT 1
- Issues with PS2 cover thumbnail HOT 7
- Ratio of ps2 longbox thumbnails looks wrong? HOT 21
- Some ps2 games never get their boxart HOT 6
- PE machine types list missing AXP64 HOT 2
- PE subsystems list missing Windows Boot Application HOT 1
- Gamecube Property sheet is blank HOT 2
- Windows: Add UTF-16 filename functions to handle filenames with unpaired UTF-16 surrogate characters HOT 2
- Upgrade fails on Ubuntu 22.04 "Jammy" Jellyfish HOT 1
- GameBoy multicarts: MBC1M and MMM01 HOT 5
- PE machine value 0x0601 == PowerPC big-endian (classic Mac) HOT 4
- 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
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.