It is from a video of the the YouTube channel TED-ed. Here it goes:
He galloped through his home in a frenzy, handling each item until it took on a lustrous sheen. Soon the palace heaved with gold.
I have cheched all the meanings of heave, but It seems to me none fit there.