I have experienced this before, believe me there must be something wrong within your code that the opening cursor can not be "closed" for some reason. Always check your code or logic before increasing or closing the cursor manually. The problem can not be solved just by increasing the max cursors sometimes, and this increased "big max cursor value" probably exceeded without carefully coded.

Take care.