Maximum `getdata` message size
The inv_vect object is 36 bytes long (a uint32_t for the type of object and a char[32] for the hash). 50000 * 36 / 1000000 = 1.8 MB. I think it's a simple as that or I didn't understand you properly.