Gregory Stark writes:
I'm skeptical that you can trust ps's VSZ reporting at this level of detail. On some platforms VSZ includes a proportionate share of its shared memory or might not include memory allocated but not actually written to yet (due to copy-on-write).
Understood. But at least it shows that the program was already above the default of 512MB limit of the operating system.