This illustration shows how to calculate the maximum number of cursors used.