Yes, if you put prints in your code that cause a lot of output, then the size of the runtime image of the notebook can become very large. That can cause problems with saving, submitting or just reopening the notebook. The way to fix that is “Kernel → Restart and Clear Output”.