ROX + WINE: huge memory leak
I just found a massive memleak (looks like it's related to https://github.com/jun7/rox-filer/issues/71) in ROX that occurs in very specific circumstances. Here's how can I reproduce it:
- Install WINE.
- Launch an application that provides a file dialog, e.g. 'wine notepad' or 'wine wordpad'.
- Open its file dialog: 'File -> Open'.
- Open ROX window and browse to a directory with some large file(s) (I tried with a few ISO images, tarball, mp4 video).
- Drag and drop that large file from ROX window into the 'File name' entry field in Notepad/Wordpad.
- ROX's RAM usage drastically increases and remains on that level.
RAM usage before:
PID USER PR NI VIRT RES %CPU %MEM TIME+ S COMMAND
30779 root 20 0 218.3m 21.4m 0.0 0.6 0:00.73 S ROX-Filer
RAM usage right after dropping a 792 MiB ISO image:
PID USER PR NI VIRT RES %CPU %MEM TIME+ S COMMAND
30779 root 20 0 2168.4m 1.573g 0.7 42.3 0:08.75 S ROX-Filer
I'm using the latest Fatdog-dev (https://distro.ibiblio.org/fatdog/broken/800tip/) + 32bit-fd64.sfs + Wine-4.0 (https://distro.ibiblio.org/fatdog/sfs/800/wine-4.0-i686-1.sfs).
Is it happens even other file managers?
Ah it still happens on chromium and not happes with pcmanfm. Hmm. I will try it again. thank you.
Is it happens even other file managers?
I tried SpaceFM and no, it doesn't happen with it.
Ah it still happens on chromium and not happes with pcmanfm. Hmm. I will try it again. thank you.
Ok, thank you.
The workaround seems to work for me, cannot reproduce the memleak anymore.
Thanks & Cheers!
Sorry I'm learning about drag and drop. So I keep this open.