Languages

Menu
Sites
Language
maximum amount of data stored by a bytebuffer

hi all,
can any one tell me the maximum amount of data stored in a byte buffer

Responses

2 Replies
Alex Dem

Hi,
I am not sure that it strictly limited (I did not face with exact max size of ByteBuffer)
But in case of unsuccess you will get r=E_OUT_OF_MEMORY result after:
result r;
ByteBuffer srcBuf;
r=srcBuf.Construct(int size);
Alexey.

Alex Ashirov

I think, most probably it is limited by available heap memory.