I have not encountered this with the new Simulation options. With Pyro, we had some questions here so far, when the settings would go near infinity in terms of RAM, for example.
With just a few lines, I have no idea what to explore. If there is no Example file, I can't do anything.
I assume, based on the nature of the project requirements, that you are not able to break this in parts and store it either as a cache or Alembic.
Please have tech support look into it.
While you are on that site and do not get what you need, perhaps use the "Share Your Idea", and submit this as a feature request.
My best wishes