Hi, The attached patch fixes the problem, but it needs to be evaluated first by Thomas or Noel. In relation to the cache_size info equal to 0, it's worthy to note that when you changes the cache size in MV STORE, the current cache is cleared. Moreover, the size is showed in MB and is a integer value, so, a size lower the 1024 is presented as 0 because of its division by 1024.
Regards, Fred 2015-03-21 15:11 GMT-03:00 sim <sim...@mail.ru>: > jdbc:h2:tcp://192.168.1.10:9093/bagira2 > > > On Saturday, March 21, 2015 at 8:07:02 PM UTC+2, Noel Grandin wrote: >> >> I forgot to ask earlier - what does your database URL look like? > > -- > 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. > -- 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.
# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: /home/fred/Dropbox/h2-trunk/trunk/h2/src/main/org/h2/engine # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: Database.java --- Database.java Base (BASE) +++ Database.java Modificado Localmente (Baseado em LOCAL) @@ -1826,7 +1826,7 @@ pageStore.getCache().setMaxMemory(kb); } if (mvStore != null) { - mvStore.setCacheSize(Math.max(1, kb / 1024)); + mvStore.setCacheSize(Math.max(1, kb)); } }