You been doing Java so long that you forgot that java::lang::String stores its 
char data in a buffer on the heap?  ;P

thanks. I just needed to know what the intent was so that I'll know what to do 
with it on my side.


On Jun 6, 2010, at 1:48 AM, Thomas Mueller wrote:

> Hi,
> 
>> In theory, what SHOULD be size for a given value instance?
> 
> It's the memory footprint. It's used to calculate the current cache size.
> 
>> The sizeof(value instance) + sizeof(external buffer used by value instance)?
>> 
>> "external buffer" would be for strings and blobs and such.
> 
> I don't know what you mean exactly with external buffer, but it sounds
> correct. For strings, it would be the characters of the string, plus
> the bookkeeping (size, hash,...). For blobs, it would include
> everything except what is stored on disk.
> 
> Regards,
> Thomas
> 
> -- 
> You received this message because you are subscribed to the Google Groups "H2 
> Database" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/h2-database?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to