ALTER TABLE sample_mem_table MAX_ROWS=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'
	;
