Added in 1.8.10

/gcmem

Forces garbage collection and prints current memory usage to File -> Rawlog -> Debug, used for debugging.