Economics simulation + Python needing 200+GB of RAM sounds preventable.
In your friend’s shoes, I might start asking for pointers over on the programming.dev Lemmy.
As others have said, a rewrite in a faster language like C or goLang could help - but my guess is there’s also ways to cut that memory need way down, while still using Python.
I do not have any RAM to share, sorry.
Economics simulation + Python needing 200+GB of RAM sounds preventable.
In your friend’s shoes, I might start asking for pointers over on the programming.dev Lemmy.
As others have said, a rewrite in a faster language like C or goLang could help - but my guess is there’s also ways to cut that memory need way down, while still using Python.