Big difference.
Whereas a socialist system causes famines due to central planning leads to poor decision making.
The market decided that the starving people who harvested crops didn't need to eat them, because people would pay more for those crops elsewhere: https://en.wikipedia.org/wiki/Great_Famine_(Ireland)#Food_ex...
10 million people starved in the Bengal famine: https://www.mensxp.com/special-features/today/27992-the-forg...
The Bengal famine was a top down project specifically designed to profit. There is no "free market capitalism" in that scenario.