Checked htop, using 600+MB.
Did a memory dump. 2MB used in the program.
Checked the memory dump. 1.8MB are for garbage collecting.
That leaves 300KB as a direct result of my code, which is reasonable for what I have so far, around 2MB for garbage collecting, which I will begrudgingly accept, and... over 600 megabytes for the JVM itself.
What the fuck?