Cannot compile package after reconnect

Toad v13.0.0.80
Windows

If the server you are connected to goes down (e.g. bounced, taken offline for a backup, network issue), after you reconnect your session via Test Connection (Reconnect), compiling package bodies often doesn’t work, regardless of what you do.

  • Compiling => Fails
  • Closing Package and Reopening, Compiling => Fails
  • Running as script => Fails

Sometimes you get this type of error.

Toad%20issue

Or the Editor has an error icon “Out Of Memory(Heap)” on the first line.

The only solution is to restart TOAD.