Re: [h2] What is kept in PageStores and when is it released ?

2015-01-13 Thread Thomas Mueller
Hi,

The PageStore is the storage engine, it mainly references the cache. The
CacheLRU is the cache. You can configure the cache size using set
cache_size ... or by appending ;cache_size=... to the database URL.
See also the documentation.

Regards,
Thomas



On Tuesday, January 6, 2015, Rinse Lemstra r.lems...@xso.nl wrote:

 We have put a new (H2-based) product live. Now the numbers of users are
 growing, the memory consumption also grows.

 JVisualVM learns us that the top 20 memory consuming objects are
 org.h2.store.PageStore#xx and org.h2.util.CacheLRU#xx


 Could someone explain what is kept in these objects ?  when will they
 being released ?


 regards,

 Rinse

  --
 You received this message because you are subscribed to the Google Groups
 H2 Database group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to h2-database+unsubscr...@googlegroups.com
 javascript:_e(%7B%7D,'cvml','h2-database%2bunsubscr...@googlegroups.com');
 .
 To post to this group, send email to h2-database@googlegroups.com
 javascript:_e(%7B%7D,'cvml','h2-database@googlegroups.com');.
 Visit this group at http://groups.google.com/group/h2-database.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups H2 
Database group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to h2-database+unsubscr...@googlegroups.com.
To post to this group, send email to h2-database@googlegroups.com.
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.


[h2] What is kept in PageStores and when is it released ?

2015-01-06 Thread Rinse Lemstra
We have put a new (H2-based) product live. Now the numbers of users are 
growing, the memory consumption also grows.

JVisualVM learns us that the top 20 memory consuming objects are 
org.h2.store.PageStore#xx and org.h2.util.CacheLRU#xx


Could someone explain what is kept in these objects ?  when will they being 
released ? 


regards,

Rinse

-- 
You received this message because you are subscribed to the Google Groups H2 
Database group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to h2-database+unsubscr...@googlegroups.com.
To post to this group, send email to h2-database@googlegroups.com.
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.