My dedicated standalone server has lately been crashing frequently.

This problem was caused by bugs in BIS' code that handles squad XML pages. The solution is to install version 1.42 or above of the dedicated standalone server program, available at BIS or at Codemasters.