I have a big database consists of 418 million records. I am sending a query which must export the result to a text file. When I send this query my computer restarts after a while. I checked my computer and saw that it is not about the CPU heat.

Do you have any other ideas about the possible reasons of the restart?