Even though the price of RAM has gone up recently, it's still (even if you don't adjust for inflation) several orders of magnitude cheaper than it was in 1981...
This graph (https://ourworldindata.org/grapher/historical-cost-of-comput...) doesn't contain the latest uptick, but just to get the picture:
1981: 1 TB of memory cost 12.8 billion $ (at least theoretically - I'm not sure if worldwide RAM production for that year was more than 1 TB?)
2023: 1 TB of memory cost 1088 $