Hi,

> I mean dynamically at runtime, but if I had understood that this value
> it's determined at database start and never adjusted, I'm right ?

Yes, the value is not adjusted automatically. I don't think that would
be a solution. Would you add a background thread to detect if other
applications need memory? Actually there is no way to do that correct,
except using SoftReference/WeakReference/PhantomReference. And that's
what is already implemented:
http://h2database.com/html/features.html#cache_settings

> Is a costly operation to dbm change CACHE_SIZE at runtime or do nothing ?

I don't understand the question sorry.

> most of the time there will be available
> memory at jvm that H2 could use and release periodically.

This is already available. I suggest to read the documentation:
http://h2database.com/html/features.html#cache_settings "Also included
is an experimental second level soft reference cache."

Regards,
Thomas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to