Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 434895 - [GTK3] Memory leak when resizing views (Ubuntu 14.04)
Summary: [GTK3] Memory leak when resizing views (Ubuntu 14.04)
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.4   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-14 15:09 EDT by Marc-André Laperle CLA
Modified: 2015-01-12 23:51 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc-André Laperle CLA 2014-05-14 15:09:08 EDT
Eclipse Platform 4.4.0-I20140512-2000
Ubuntu 14.04
GTK 3.10.8-0ubuntu1
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1)
SWT_GTK3=1
UBUNTU_MENUPROXY=0
LIBOVERLAY_SCROLLBAR=0
-Xmx1040m

After resizing my views for a few seconds (or even faster, resizing the whole window), Eclipse uses a lot of memory. The java process (Eclipse) is using 3GB and Xorg is up to 2.5GB. I don't see anything obvious using Sleak so the leak is probably at a different level than your typical missing dispose() call.
Comment 1 Marc-André Laperle CLA 2014-05-14 16:19:38 EDT
I tried to use Valgrind + Massif to look at memory allocation but my JVM crashes. Any tips on troubleshooting native memory issues in Eclipse?
Comment 2 Marc-André Laperle CLA 2014-05-21 20:11:09 EDT
I can't reproduce this on Ubuntu 13.10 and Fedora 20 so it must be a regression in Ubuntu 14.04. I will close this as NOT_ECLIPSE for now since the cause of the bug is most likely in a package provided by Ubuntu and the fix will most likely happen there.
Comment 3 Marc-André Laperle CLA 2014-05-30 10:48:39 EDT
Might be due to new theming in Ubuntu 14.04
https://wiki.ubuntu.com/Unity/Theming
Comment 4 Marc-André Laperle CLA 2014-12-05 16:52:16 EST
Matthew, when you have some time, can you test this on trusty (14.04) again? I can't reproduce it on 14.10. I'm using Eclipse 4.5-I20141125-0800.
Comment 5 Marc-André Laperle CLA 2015-01-12 23:51:40 EST
I can't reproduce this on Ubuntu 14.04 anymore.