From my experience as a ex-post-production support engineer, there is no such thing as too much ram for After Effects. It still retains much of its DNA from its CoSA days and hence is still not an efficient compositor. As with any other Adobe software, it has become way too bloated for its own good.