That setting is no longer needed. We just set it to the maximum and removed the preference. It was only useful in the distant past when computers had much less RAM and the number of undos could affect performance noticeably.
---------------------------------------------------------------------------------------------------------
Todd Kopriva, Adobe Systems Incorporated
After Effects quality engineering
After Effects team blog
---------------------------------------------------------------------------------------------------------