I am editing a video clip of 5 minutes length. I am using multiple masks on it to blurry the face of a subject. I got to a point in which I cannot keep working because my RAM (8GB) it's getting saturated and I believe it is because I am using so many masks (12 masks). Is there a way of merging them all together or solving this problem?
I'd second what Ham the Epic said. I use 128 GB of Ram and AE and PPro eats it up especially when there are lots of layers with masks or effects.
Your only option to work around this would be to do the painful process of Masking your source with 1 layer; Render the Output Uncompressed, Import, Add 2nd Mask, and repeat.
This way you're only working with 1 mask at a a time.