Lag after command (or when cancelling it)


I’m facing a problem with Rhino. Sometimes after a command finishes its task (or sometimes when I decide to cancel the command) the program freezes and it shows a blue bar below the command for some seconds (sometimes 2-3 sec sometimes up to +30 secs)

It happens randomly not in specific commands, but I’ve noticed more problems when draging some element with the gumball. Previously it was once or twice a day, but lately I’m facing the problem every 2-3 commands and it nerves me a lot.

Before I was working with a huge file (1GB) with thousand of lines imported from a 2D dxf file, so I thought it was related to the filesize, but now it happens even with simple projects, any idea?