Thanks. In fact, I allocated more than 4GB. If I run the query many times, say 1000 times, then the query becomes much faster. I think this may be due to JVM "warming up"?
On Sunday, June 14, 2015 at 5:55:52 PM UTC+10, Christian MICHON wrote: > > Allocate more memory to the jvm: your data is stored in the same heap > space used by sql operations. > > Go for 1.5Gb if you're in 32 bits jvm or above 2Gb if in 64 bits jvm. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
