DF was more CPU starting to melt than RAM.
Tho from what I remember was mostly due to unmanaged item growth just making your fortress have to calculate more and more and more stuff. With some game knowledge and management you can run few hundred years (Longdeath being one)