Blender crashes when Baking fluid
The cache limit in the user preferences only limits how much memory can be used by clip editor and the sequencer to preload frames for faster playback.
Fluid simulations are not limited by that value.

You can bake the simulation from the command line without loading blender's interface.