The answer lies in two words:
Around 2010–2015, 64-bit servers became ubiquitous, and cloud computing accelerated the shift. 64-bit Java removed the 4 GB limit, allowing heaps of 32 GB, 128 GB, or more. 32bit java