Saving work (developing "add new table")
Corrected mistake with memory limit calculation