Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I suspect you might have enabled debug logging which caused excessive writes on the flash due to that the switch which might have taken some more time for normal operation.