Illegal attempt to resize random dynamic array

In reply to vvs3693:

Hi, It worked… But when I am trying to pack this in to a bitstream (uvm_packer), I am not able to do it if there are more than 4095 bytes in total. ie, only a payload of 4070 is allowed. Is there any limit like the above for this also??