Memory in the Immediate window is limited. This error has the following cause and solution:
Delete the reference to the variable in the Immediate window, or declare the variable in the program's code context so that it doesn't have to be created in the Immediate window.
For additional information, select the item in question and press F1.