Variables take up a small bit of the free memory. This does not necessarily mean the server becomes slower, but like t says, it does take up more memory, which could, in extreme amounts, cause potential crashes. *citation needed*
I wonder if it actually possible to make so many variables that a server crashes. Interesting thing to find out.
does variables even consume memory? i know for a fact that starting repeating task that starts repeating task and does nothing more WILL crash the server but i doubt varaibles will