Bug 550125 - Eclipse is constantly freezing
Summary: Eclipse is constantly freezing
Status: CLOSED DUPLICATE of bug 548443
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.12   Edit
Hardware: PC Windows 10
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-15 14:39 EDT by Reggie Henry CLA
Modified: 2019-08-19 14:19 EDT (History)
6 users (show)

See Also:


Attachments
example eclipse freezing (37.11 KB, image/png)
2019-08-15 14:41 EDT, Reggie Henry CLA
no flags Details
eclipse freezing when adding a server (72.68 KB, image/png)
2019-08-15 14:43 EDT, Reggie Henry CLA
no flags Details
eclipse ini (910 bytes, application/octet-stream)
2019-08-15 14:46 EDT, Reggie Henry CLA
no flags Details
jstack ouput when frozen (39.01 KB, text/plain)
2019-08-15 15:20 EDT, Reggie Henry CLA
no flags Details
Eclipse log after UI Responsiveness Monitoring Is Enabled (70.11 KB, text/plain)
2019-08-15 15:21 EDT, Reggie Henry CLA
no flags Details
stacktrace when ui is frozen (13.10 KB, text/plain)
2019-08-16 16:28 EDT, Reggie Henry CLA
no flags Details
screenshot of MsMpEng.exe during ui freeze (121.97 KB, image/png)
2019-08-16 16:29 EDT, Reggie Henry CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reggie Henry CLA 2019-08-15 14:39:49 EDT
For some reason eclipse is constantly freezing.. It happens pretty often.  It doesn't seem to matter what I'm doing.  I've seen this happen:
- Editing a file
- Exploring the file folders 
- Run project on server

If anyone has any suggestions I'd be grateful.


My setup:
Windows 10
approx 15gb memory
editing repo over samba (I have mounted a samba drive)

Setup eclipse.ini
-Xms1024m
-Xmx4096m

What I've done:
- recreated workspace multiple times
- reinstalled eclipse 
- disabled all vaidation


eclipse-workspace\.metadata\.log hasn't revealed anything on why eclipse is freezing

Only exception that I've seen so far:
java.nio.file.AccessDeniedException: C:\Program Files\Git\mingw64\etc\.probe-ad4c4eff-34ad-487b-9a48-b6165a4c0815
Comment 1 Reggie Henry CLA 2019-08-15 14:41:16 EDT
Created attachment 279587 [details]
example eclipse freezing
Comment 2 Reggie Henry CLA 2019-08-15 14:43:39 EDT
Created attachment 279588 [details]
eclipse freezing when adding a server
Comment 3 Reggie Henry CLA 2019-08-15 14:46:57 EDT
Created attachment 279589 [details]
eclipse ini
Comment 4 Andrey Loskutov CLA 2019-08-15 14:49:45 EDT
Please provide jstack thread dump during freeze.
Comment 5 Reggie Henry CLA 2019-08-15 14:50:14 EDT
Note: I'm using Eclipse IDE for Enterprise Java Developers
Version: 2019-06 (4.12.0)
Build id: 20190614-1200

I'm using the vanilla build, I haven't added any extra plugins
Comment 6 Reggie Henry CLA 2019-08-15 14:50:43 EDT
(In reply to Andrey Loskutov from comment #4)
> Please provide jstack thread dump during freeze.

Will do, thanks for the reply!
Comment 7 Lars Vogel CLA 2019-08-15 15:04:35 EDT
Please also activate the UI freeze monitor and check the Error View See https://www.vogella.com/tutorials/EclipsePerformance/article.html#eclipse_uifreeze_monitor
Comment 8 Reggie Henry CLA 2019-08-15 15:20:20 EDT
Created attachment 279590 [details]
jstack ouput when frozen
Comment 9 Reggie Henry CLA 2019-08-15 15:21:26 EDT
Created attachment 279591 [details]
Eclipse log after UI Responsiveness Monitoring Is Enabled
Comment 10 Lars Vogel CLA 2019-08-16 01:52:21 EDT
Can you attach only the stack trace from the UI freeze? You find it in the error log (double click on the freeze trace).
Comment 11 Rolf Theunissen CLA 2019-08-16 03:56:59 EDT
Are you by any chance running Windows Defender? Can you check the CPU load of "Antimalware Service Executable" when you experience a freeze?
Comment 12 Reggie Henry CLA 2019-08-16 16:28:16 EDT
Created attachment 279607 [details]
stacktrace when ui is frozen
Comment 13 Reggie Henry CLA 2019-08-16 16:29:38 EDT
Created attachment 279608 [details]
screenshot of MsMpEng.exe during ui freeze
Comment 14 Rolf Theunissen CLA 2019-08-17 01:07:47 EDT
The stack trace show file operations, and Windows Defender is running at the same time. Marking this one as duplicate of 548443, and going to broaden the scope of that bug.

*** This bug has been marked as a duplicate of bug 548443 ***
Comment 15 Reggie Henry CLA 2019-08-19 14:19:39 EDT
Thanks(In reply to Rolf Theunissen from comment #14)
> The stack trace show file operations, and Windows Defender is running at the
> same time. Marking this one as duplicate of 548443, and going to broaden the
> scope of that bug.
> 
> *** This bug has been marked as a duplicate of bug 548443 ***

Thanks for the feedback! 
Took a look at 548443 and by the looks of things a fix is a work in progress.  
I'm going to try an disable windows defender and see  how that goes.

Good job team! Going to keep testing away.