The number of variables is limited to 64k for Global variables
Pffft where did you come up with that one from, i have more than 64k in one of mine all the time?!?!?!?!
As to limited by your ram, thats an outside source of limitation so i did not place it into the mix but ill correct my statement for errors.
The number of vars allowed i believe is unlimited at least untell you run outa ram (real or virtual i dont known), there is no 64k limit.
The script editor doesnt display all vars well if u have a large number of them around 500Kb+
If u dont look in the vars section of the editor its all vars appear savede in the remote.ini perfectly finely.