Depends.
Global variables are stored in the remote.ini file, however, local variables, if I recall correctly, are stored in memory.