There’s a lot of “depends” here. A table is a reference to a memory address which is a list of memory addresses on its own.
0xFF[1] = 0xAA
Where 0xAA may be a string or object address.
So if your tables and their values are never collected by the garbage collector - sure. It can hold memory forever. But this depends on the rest of your code. Right now, there’s no telling.