Adjust creation of memory tables to only once per session