Use -s option to specify the number of data bytes to be sent.
(-l on Windows)
$ ping -s 8184 example.com
The size specified with -s is combined with the 8 bytes of ICMP header data.
Usually the max is 8184 (which translates into 8192 bytes when combined with ICMP header data).