Restart your Mac with reopen windows when logging back in disabled. Ensure you shut down every few days. Safari is a little hiccupy with a large system uptime.
Also open Disk Utility and run volume verification, permissions repair (if you're on Yosemite or earlier), and ensure your OS is fully up-to-date.