Illegal attempt to resize random dynamic array

In reply to richedelman:

By the way, hitting this limit is usually the indication of an improperly specified constraint. I noticed you had

randc bit [7:0] payload_data[];

I don’t know what you were expecting that to do. It won’t generate an array of unique numbers, and it may be too large an array to have cyclical values for each call to randomize()