Is there a max limit to the number of bytes you can allocate to an array pointer?
For example if i use a size of 16000 then this works.
char* iobuffer=new char(16000);
iobuffer[15000]='a';
However
char* iobuffer=new char(160000);
iobuffer[150000]='a';
this does not.
It shouldn't be a memory issue so is there some internal restriction? After looking further it might be that the heap cannot store that much.