Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 478144 - Project Explorer OOM with Gnome shell clipboard extension enabled
Summary: Project Explorer OOM with Gnome shell clipboard extension enabled
Status: CLOSED DUPLICATE of bug 205678
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-23 05:22 EDT by Ian Mitchell CLA
Modified: 2015-09-23 08:19 EDT (History)
1 user (show)

See Also:


Attachments
Config (1.13 MB, text/plain)
2015-09-23 05:22 EDT, Ian Mitchell CLA
no flags Details
stack trace from log (7.82 KB, text/plain)
2015-09-23 05:23 EDT, Ian Mitchell CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Mitchell CLA 2015-09-23 05:22:29 EDT
Created attachment 256782 [details]
Config

Running Fedora 22 with Gnome 3 I'm seeing the outofmemoryerror reported in https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/897013.

I can't tell if this is a reasonable thing for Eclipse to look at 'avoiding' or whether the extension is doing something wrong - but I only see a problem with Eclipse when this extension is active.

I've attached a stack trace and config.
Comment 1 Ian Mitchell CLA 2015-09-23 05:23:03 EDT
Created attachment 256783 [details]
stack trace from log
Comment 2 Andrey Loskutov CLA 2015-09-23 05:36:51 EDT
Please try to use Eclipse 4.5, which should have the fix (more a workaround) for this issue. The root cause is that the clipboard contains some highly unexpected data which Eclipse tries to interpret and fails :-(

If 4.5 does not solve the problem for you, please reopen this bug.

*** This bug has been marked as a duplicate of bug 205678 ***
Comment 3 Ian Mitchell CLA 2015-09-23 06:14:08 EDT
Thank you for replying so promptly - I did notice 205678, but couldn't tell if it was a slam-dunk dup.

I'll try 4.5 and report back.
Comment 4 Ian Mitchell CLA 2015-09-23 07:52:26 EDT
To the extent that I just ran with a freshly downloaded 4.5, turned the extension back on and then ran both a Kepler and RTC and saw the coredumps, but the 4.5 with a project explorer view open worked fine, it seem that 4.5 does indeed alleviate this problem - thanks.
Comment 5 Andrey Loskutov CLA 2015-09-23 08:00:40 EDT
(In reply to Ian Mitchell from comment #4)
> but the 4.5 with a project explorer view open worked fine, it seem that 4.5
> does indeed alleviate this problem - thanks.

There should be an error reported in the Error Log view in 4.5, but not OOM anymore.
Comment 6 Ian Mitchell CLA 2015-09-23 08:19:46 EDT
Yes Andrey...

!ENTRY org.eclipse.ui.ide 4 4 2015-09-23 12:45:29.360
!MESSAGE Transfer aborted, too many resources: 1533635181
!STACK 0
java.lang.IllegalArgumentException: Maximum limit of resources to transfer is: 1000000
	at org.eclipse.ui.part.ResourceTransfer.nativeToJava(ResourceTransfer.java:183)

but as you say, no OOM. :-)

I can't imagine why it thinks there's so many things in my clipboard... but hey, that's a reasonable check.