Hi, I was trying to see the performance/usability for the direct byte buffer memory store, but because of a bug its unusable. In org.h2.store.fs.FilePathNioMem.isRoot(), the comparison of file path name should be with "nioMemFS:" , i.e. getScheme() + ":", instead of just getScheme().
This bug makes this FilePath implementation unusable with URLs like "jdbc:h2:nioMemFS:test" I tries to fix this locally and the fix works. Thanks On Friday, February 1, 2013 at 9:17:02 AM UTC-8, Mark Addleman wrote: > > Awesome! I'll give the latest jar a try. You have, very graciously, > allowed me to remain ignorant of NIO :) > > On Friday, February 1, 2013 2:00:47 AM UTC-8, Noel Grandin wrote: >> >> My interest was piqued :-) >> >> So I implemented this. >> >> You test it out by either compiling from SVN or waiting for the build >> engine to generate a new daily jar (about 24 hours). >> http://www.h2database.com/automated/h2-latest.jar >> >> The URL's are "nioMemFS:" and "nioMemLZF:" >> >> On 2013-01-31 23:58, Mark Addleman wrote: >> > We use H2 for some large, transient buffers of data. In many cases, we >> > could store these off-heap rather than on-disk. Is there an >> > implementation of FileBase that will store an in memory database >> off-heap? >> > -- >> > 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?hl=en. >> > For more options, visit https://groups.google.com/groups/opt_out. >> > >> > >> >> -- 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.
