Add new compile_{memory,filesize} settings to SQL upgrade script
and fix comment copied from memory_limit variable.