comments and update heap size