Fixed stuff

Should get getSize and not getDuration for finding space "in memory" for
the code