@nminchin The Memory Tag page has now been updated to reflect that they are retained. The speed that the update was made will make for a good talking point tomorrow!
The state of memory tags are stored inside the gateway's internal database. This allows the tag and its value to be retained across gateway restarts.