1). During distillation, the remaining impurity dimethylamine formate decomposes to formic acid and dimethylamine that absorbs high amounts of heat that delays distillation.
2). Formic acid forms a maximum azeotrope at 101oC and continues to decompose to carbon monoxide and water. That decomposition is catalyzed by acids. In other words, formic acid autocatalyzes its thermal decomposition.
3). As a general rule, thermal decompositions that involve gas formation (e.g. CO) may also occur at lower temperatures, under reduced pressure. As a consequence, DMF purification by simple vacuum distillation and without any pretreatment, does not help.
4) CaH2 reacts with water (being as preparation impurity) and forms Ca(OH)2 that finally forms calcium formate, which is more stable than dimethylamine formate, towards thermal decomposition.