David Byrne <[EMAIL PROTECTED]> writes: > Is there a way to limit the memory used by an embedded instance > of Derby? The documentation only references limiting total Java heap size, but > that still allows Derby to hog memory from my other objects.
Hi David, I'm afraid there is no way to set a hard limit on how much memory Derby is allowed to consume. Normally, the page cache is what takes most memory in a Derby instance. You can limit the size of the page cache with the derby.storage.pageCacheSize property. See http://db.apache.org/derby/docs/dev/tuning/rtunproper81359.html. -- Knut Anders
