function
jsc.gcAndSweep
Runs a full garbage collection and then sweeps the heap, all synchronously, so the memory of every unreachable object has been freed by the time this returns. fullGC does the same collection but leaves the sweep to happen lazily afterwards.
@returns
The size of the heap in bytes after the collection, as heapSize measures it