fix: correct the divider for the memory, and check for the available memory f8849a8 CK-Explorer commited on Aug 9