0

Every time i run any junit or any job [ spring-batch ] from eclipse. It hangs for around 10-15 mins. After that everything goes fine.
Now, i would like to know in such cases what are the steps you take or what are the tools you use to rectify the problem.

Till now i am unable to resolve the problem. Please help. Should i post the Thread dump here?

Rakesh Juyal
  • 35,919
  • 68
  • 173
  • 214

2 Answers2

1

From another question on SO, try: http://wiki.eclipse.org/How_to_report_a_deadlock

Community
  • 1
  • 1
pdbartlett
  • 1,521
  • 10
  • 18
0

If you have a significantly large project try turning off Build Automatically which would definitely slow eclipse and seemingly hang eclipse when trying to run a junit.

Access it from Project > Build Automatically

David Young
  • 4,643
  • 2
  • 21
  • 18