Regarding the ridiculous prices of both flash and DDR memory lately I think (hope?) that the situation will improve in the next couple years.
Unless you've been living under a rock you'll know that the cause of the nosebleed pricing is due to datacenter buildout for the AI crowd. There have already been quite a few datacenters built and operating. (Actually less than you might think given the media hype, but that's another topic.) A huge number are still in the planning stages. Before a datacenter can go online the parts must obviously be bought and installed. Lately, for NIMBY and other reasons the parts get purchased but then stored in a warehouse while the process of finding and purchasing land, going through the legal / permitting process, actually doing the construction, and contracting for long-term supply of water and electricity completes. So basically there's a lot of processors, power supplies, network switches, and other bits of kit that have been bought but that are currently just sitting in warehouses. And yes, this includes memory chips and SSDs.
Now, if you do a bit of research into how many datacenters are already in the planning or building stages and add up all the power, water, land and other resources that will be necessary for them to actually be completed and powered up you get, literally, more than can possibly be supplied. For instance, just to power them all would take terawatts of electrical power. A typical commercial nuclear reactor puts out around 1 Gigawatt of power. A single terawatt is 1,000 Gigawatts. Clearly not all of these datacenters can possibly be supplied with even just the necessary electrical power. There would have to be literally over a thousand new nuclear reactors built to supply them with power. It takes decades to build a single nuclear power plant. A coal-fired plant can produce anywhere from several hundred megawatts to a gigawatt of power. The Hoover dam can supply 2 Gigawatts of hydro power if filled to capacity. The world's largest hydro power plant, the Three Gorges dam in china can "only" produce around 23GW of power. The world would need over 40 new Three Gorges hydro power plants to power the number of datacenters currently being planned.
Speaking of which, water (for cooling all that electronic gear) is another resource that simply can not be supplied at the required levels to all those datacenters.
So I think that in just a couple / few years the AI crowd will realize that their current plans are doomed to failure. Already several states have put moratoriums on building new datacenters. Land will not be available to build all of them on. Power will not be available to power them all. Water will not be available to cool them all. And the electronics in the warehouses will be old and obsolete. Even the bits that have managed to get installed in completed datacenters will be old and in need of upgrading to remain competitive.
I predict that a lot of memory will be dumped on the market, much of it unused and at fire-sale prices by companies either going bankrupt or by ones trying to upgrade their inventory of gear that they hope to someday install in their datacenter(s).
One can hope anyway.