Global variables: loosing the value

Nope. freeMemory and freeRam shows a steady ~4300 bytes left.