bugfix: enlarge memory size when compiling