Linux MyEclipse start Tomcat too slow how to do?

  
                

In Linux system operation, using MyEclipse to start Tomcat suddenly becomes very slow, memory and cpu are occupied a lot, and this problem did not occur before, then what caused this situation? The following small series will introduce you to the Linux MyEclipse solution to start Tomcat too slow.

In fact, this can be regarded as a bug in MyEclipse. Not surprisingly, the above situation will appear after you add a breakpoint! The first view of the red box

this should not appear breakpoint

On, if you double-click in there, under normal circumstances there will be a breakpoint in the method:

We look illustration An executable statement (blue box as shown above, third break from top to bottom).

Under normal circumstances, we can only set a breakpoint on the method signature (the second breakpoint above) and the method body. It is impossible to set a breakpoint. If MyEclipse lets us set the breakpoint to the comment, this will happen! (It is worth mentioning that if you do not change the code significantly, such as copying and pasting from other places, the above situation will generally not appear)

Solution: Remove these breakpoints that should not exist!

But you will soon find that you can't, double-click again but you can't cancel the breakpoint! (In most cases so)

As shown, you switch to debug mode, you can find the break and cancel.

Although there are traces of breakpoints, it will not affect anything at this time.

The above is the introduction of Linux MyEclipse to start Tomcat too slow solution, when you encounter this problem, just remove some extra breakpoints can be solved.

Copyright © Windows knowledge All Rights Reserved