Warning

This document hasn't been checked for compatibility with current versions of Plone. Use at your own risk.

StorageError: Quota Exceeded

by George Lee last modified Dec 30, 2008 03:08 PM
During testing, if the necessary memory exceeds 1MB, the tests will run.

If mysterious errors occur during testing and you see a POSException.StorageError somewhere:

   raise POSException.StorageError(
       '''<b>Quota Exceeded</b><br>
       The maximum quota for this demonstration storage
       has been exceeded.<br>Have a nice day.''')

it may be because your test requires more memory than an allowed quota.

In /lib/python/Testing, custom_zodb.py, there is a cap of 1MB set (1<<20) on the test database. You can raise this if necessary.