Oracle SQL Developer freezes and locks up frequently and randomly.

If you are experience Oracle SQL Developer locking up all the time randomly, you can try the following solutions. This applies to version 1.5.1 or 2.1 and above.