create the memory table if its missing