db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dyre.Tjeldv...@Sun.COM
Subject Re: HowTo use derby at a CDC device --SavaJe Jasper S20
Date Mon, 22 May 2006 10:36:23 GMT
Ove Nordstrom <ove@ojn.se> writes:

> Hi,
> I bought a SavaJe phone "Jasper S20"(http://www.savaje.com/show_device.html)
> at JavaOne.
> It is a Java ME /CDC 1.1 phone.
> Have anyone installed derby on this device?
> HowTo do it?

One thing to look out for is the page cache size. It default is 1000
which amounts to 1000*4k = 4 Mb (assuming the default pageSize of 4 kb).

That is, unless this is automagically changed when running under CDC,
does anyone know?

Anyway, you could try setting it to a lower value.

See http://db.apache.org/derby/docs/10.1/tuning/
the section about Derby Properties

So if you start derby with -Dderby.storage.pageCacheSize=250 
the page cache should take up 1 Mb



View raw message