In just about every WWII movie I watch (accurate or not) there's usually a scene where Allied soldiers find a room full of German Officers who killed themselves for fear of being captured by Allied forces. Did anyone keep track of the suicide rate of German soldiers and officers during this time? I mean hell, it's even common knowledge that Hitler supposedly killed himself.
There's been some really interesting work done on suicide in Nazi Germany. When considering suicide, as an "illness" or as a product of it's context. A purely pathological view of suicide negates any questions regarding the choice and historical context. On the other hand, since the late 19th century, suicide has been also seen as a lack of integration with society and as a state of the wellbeing of a society. It could be divided into three categories: egoistic, altruistic, and anomic. The first, egoistic comes from a lack of integration with society (e.g. by being different), altruistic is about the betterment of society and anomic means from a complete turnover of norms and values. [1]
All three have relevance when considering Nazi Germany. [2]
Suicides in Germany had been increasing since the end of WWI. The devastating end of the war, the terrible living conditions post-war and following the depression and the new reforms in government meant that life was difficult and strange for many Germans. Germany had higher suicide rates than the UK and France but lower than Austria which also suffered post WWI. [4]
It should be noted that counting suicides in Germany is very difficult as recording practices were not what they are today. In Catholic areas, suicides would often be recorded as an accident [5] while Nazi's were more likely to attribute deaths of Jews to suicide while not recording other suicides as such (to promote the view that society was healthy and happy).
Lastly, it is interesting to note that after the war, suicide rates fell in West Germany but not in East Germany.
As you asked specifically about soldiers, you may also find this thread interesting: "Why did the Nazi leadership commit suicide on defeat? Had any losing war leaderships ever done this before?" It deals with the thread of the Red Army who were in propaganda depicted as incredibly ruthless (a view certainly based on reality). Especially women suicides around that time are attributed to the threat of rape in the aftermath of the war. [6]
[1] Emilie Dunkan: His Life and Work (1973) by Steven Lukes
[2] Suicide in Nazi Germany (2009) by Christian Goeschel (Introduction & chapter 1)
[2b] Suicide in Nazi Germany (2009) by Christian Goeschel (Chapter 6)
[3] Suicide in Nazi Germany (2009) by Christian Goeschel (Figures 13 and 15 & chapter 5)
[3b] Suicide at the End of the Third Reich (2006) Christian Goeschel in the Journal of Contemporary History
[4] Suicide in Nazi Germany (2009) by Christian Goeschel (Figures 1 and 3 & chapter 1)
[5] Imperial Culture in Germany, 1871-1918 (2003) by Matthew Jeffries (Chapter 1)
[6] Suicide at the End of the Third Reich (2006) Christian Goeschel in the Journal of Contemporary History