CREATE TABLE `sample_mem_table` (
	`field1` INT(11) NULL DEFAULT NULL
)
COLLATE='utf8mb4_unicode_ci'
ENGINE=MEMORY
;



REPLACE INTO `sample_mem_table` VALUES (1);


SELECT table_name, data_length, index_length, data_length + index_length AS total_bytes
FROM information_schema.tables
WHERE 
	engine='MEMORY'
	and
	TABLE_NAME = 'sample_mem_table'
	;
