Hi,

I found some more issues with nioMemLZF, I will fix that as well. And add a
test case. Also, the page sizes are probably too small, I will check that.

By the way the prefixes are "nioMemFS:" and "nioMemLZF:".

Regards,
Thomas



On Thursday, April 9, 2015, Ravi Sanwal <[email protected]
<javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:

> There is a bug in org.h2.store.fs.FilePathNioMem.isRoot().
> The comparision tries to compare root (which is nioMemFS: or nioMemFSLZF:)
> with getScheme() (which is nioMemFS or nioMemFSLZF).
>
> The fix is as below:
>     private boolean isRoot() {
>         return name.equals(getScheme() + ":");
>     }
>
> On Monday, March 11, 2013 at 8:16:18 AM UTC-7, Noel Grandin wrote:
>>
>>  It's experimental at the moment, so no docs.
>>
>> Sorry, the actual prefixes are "nioMemFS:" and "nioMemLZF:"
>>
>> On 2013-03-11 00:01, Sebastian B wrote:
>>
>> Thank you very much. I'm wondering that this mode is storing data in a
>> file on disk.
>> I thought that it is an in memory off-heap storage layer?
>> Are there some documentations around?
>>
>> Best,
>>
>> Sebastian
>>
>> Am Samstag, 9. März 2013 08:10:45 UTC+1 schrieb Noel Grandin:
>>>
>>> Java tends to be quite promiscous with it's memory usage.
>>> You could try using the new experimental nioMem: mode, which stores the
>>> data outside the GC heap in the native process heap, but you'd still need
>>> to limit the VM's memory usage with -XMx
>>>
>>>
>>> On Fri, Mar 8, 2013 at 9:40 PM, Sebastian B <[email protected]> wrote:
>>>
>>>> Hi there,
>>>>
>>>>  currently I'm trying to use H2 as a buffer for some read mostly
>>>> tables in an external PostgresSQL database.
>>>>
>>>>  The smallest of my data-sources (<VARCHAR, VARCHAR, INT>) got a size
>>>> of around 110MB on disk managed by postgres.
>>>> Now I'm a bit curious, because I can't see why H2 needs around 850 MB
>>>> to represent that data in main memory.
>>>> In addition to the default memory mode, I also tried to use ..:memFS or
>>>> ...memLZF, but couldn't decrease the memory consumption much.
>>>>
>>>>  My problem is, that I got some much bigger data-sources as well that
>>>> I have to put into main memory.
>>>>
>>>> Thanks and best regards,
>>>>
>>>>  Sebastian
>>>>  --
>>>> 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?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.
>

-- 
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.

Reply via email to