Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROX + WINE: huge memory leak #192

Open
JakeSFR opened this issue Feb 5, 2019 · 5 comments
Open

ROX + WINE: huge memory leak #192

JakeSFR opened this issue Feb 5, 2019 · 5 comments

Comments

@JakeSFR
Copy link
Collaborator

JakeSFR commented Feb 5, 2019

I just found a massive memleak (looks like it's related to #71) in ROX that occurs in very specific circumstances.
Here's how can I reproduce it:

  1. Install WINE.
  2. Launch an application that provides a file dialog, e.g. 'wine notepad' or 'wine wordpad'.
  3. Open its file dialog: 'File -> Open'.
  4. Open ROX window and browse to a directory with some large file(s) (I tried with a few ISO images, tarball, mp4 video).
  5. Drag and drop that large file from ROX window into the 'File name' entry field in Notepad/Wordpad.
  6. 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).

@jun7
Copy link
Owner

jun7 commented Feb 5, 2019

Is it happens even other file managers?

@jun7
Copy link
Owner

jun7 commented Feb 5, 2019

Ah it still happens on chromium and not happes with pcmanfm.
Hmm. I will try it again. thank you.

@JakeSFR
Copy link
Collaborator Author

JakeSFR commented Feb 5, 2019

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.

jun7 added a commit that referenced this issue Feb 5, 2019
@JakeSFR
Copy link
Collaborator Author

JakeSFR commented Feb 6, 2019

The workaround seems to work for me, cannot reproduce the memleak anymore.

Thanks &
Cheers!

@JakeSFR JakeSFR closed this as completed Feb 6, 2019
@jun7
Copy link
Owner

jun7 commented Feb 6, 2019

Sorry I'm learning about drag and drop. So I keep this open.

@jun7 jun7 reopened this Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants