CUDA out of memory error

Troubleshooting fastai ( says that if you have a CUDA memory leak exception, we use the following code to fix it -

“…So now that you understand this, the quick fix solution is to just run a cell with this content: 1/0”

When i try executing this in a call in jupyter, it says 1/0 is zero exception error. How do i execute it?