I have the same problem in Linux. After compiling multiples times, the memory can reach more than 2 GB and raise every time I compile. I tried to looking for the option "Preview -> Full Page PDF Preview -> Cache Size" in advance mode but I didn find it. Note, I used the viewer in windowed mode.