created memory size in globals.js