blender is crashing while rendering fluid simulation
Try with Command Line Rendering. It tends to be more stable and faster than normal rendering. Here is a video with explanation on how to do it. It is easy, there isn't much to mess up there if you follow the instructions.
Shortly said, rendering in the Command prompt (CMD) is opening blender in the background, without having it actually opened. When Blender is open, it has to keep the 3d view and much more stuff loaded. But when you run it through CMD, you make it to load only the operation you need it to do.
How to do it
1. Open CMD - In the Windows search bar simply type &quot;Cmd&quot;, and open it. It doesnt matter if you open it as administrator or not.
2. Locate the blender .exe file - The easiest way it to use the desktop shortcut, by right clicking  on it --&gt; Open File Location, but can be done from Windows start menu. The copy it and go back to CMD.
3.  Set the working directory of the prompt - In CMD, type cd &lt;blender.exe folder&gt;. Usually its in Program Files --&gt; Blender Foundation --&gt; Blender &lt;version&gt;, but it may vary.
4. Do the magic - What you have to do now is to run blender.exe, but with special settings. One thing to note, the settings are just one letter, like -a, followed by specification. There is a space between the setting and the specification.
First, start by typing blender.exe(dont run yet). This will open blender normally when executed.
Then, add the special settings. At first, you need to specify which project will be rendered - i.e the location of the .blend file. So, to what you have written, add -b- this the option, specifying the location of the file. After it, add the location. So, you should have blender.exe -b &lt;location of .blend file&gt; Dont run yet.
Now, you need to specify which frame are you rendering.
For a still image, you use -f, followed by the frame number - -f &lt;number&gt;.
For animation, you use -s for the start frame, -e for the end frame, and then you add -a to tell the program that you are rendering an animation- -s &lt;number&gt; -e &lt;number&gt; -a
Additionally, you can specify an output location, but thats not really necessary, if you have one in the file. Use -o for it, followed by the output folder.
Now, you should be left with something like this:
blender.exe -b &lt;.blend loc.&gt; -f &lt;rendered frame num.&gt;
or
blender.exe -b &lt;.blend loc.&gt; -s &lt;start frame num.&gt; -e &lt;end frame num.&gt; -a
All you got to do now is to run this command. It shows the progress in the CMD. One really cool thing about it, is that you can actually pause it, even on one frame renders. Just click Pause Break button on the keyboard while the CMD window is active. To resume, click it again However, the render gets somehow slower after resuming, so i dont recommend this.
Thats all you really need to know about it, and even if it doesnt apply for that project, its really good to know it for the future.