2

i have the following Problem: I have a maven project and in these project eclipse is very slow. Sometimes it freeze for serveral seconds. And if want to use auto completion it takes up to one minute before this message is shown:

The 'org.eclipse.jdt.ui.JavaAllCompletionProposalComputer' proposal computer from the 'org.eclipse.jdt.ui' plug-in did not complete normally. The extension took too long to return from the 'computeCompletionProposals()' operation.

I can fix that issue by disable java proposals under content assist -> advanced. But then the auto completion wont work anymore.

pmueller
  • 143
  • 1
  • 19

2 Answers2

3

Try to change these memory values to eclipse.ini file (In your eclipse directory)

-Xms1024m

-Xmx4096m

These values depends on your system.

Community
  • 1
  • 1
Loizos
  • 76
  • 3
  • Try to disable some validations in eclipse preferences. Maybe your system is slow. Or try to give more memory to eclipse, maybe 2048M – Loizos Nov 06 '19 at 08:33
0

I don't know why, but after i deleted the .metadata folder in my workspace everything works correctly now. Thanks for your help guys :)

Edit: thanks for the comments, a better solution would be the way howlger decripded in his comment.

pmueller
  • 143
  • 1
  • 19
  • 2
    **Never ever delete the `.metadata` folder** as this folder contains not only cache data but also things you want to keep (local history, non-shared launch configurations, ...). Instead, try to start Eclipse with `-clean` or try to start Eclipse with a new workspace (`-data `) and to import the projects from the old workspace (_File > Import...: General > Existing Projects into Workspace_). – howlger Nov 12 '19 at 08:59