db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: Memory Management
Date Mon, 21 Apr 2008 07:22:51 GMT
David Byrne <davidribyrne@yahoo.com> 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

Mime
View raw message