Some memory leaks occur due to program errors in which infinite loop in the application code allocates new objects and adds them to a data structure accessible from outside the program loop scope.
MDIV is a program that will simultaneously estimate divergence times and migration rates between two populations under the infinite sites model or under a finite sites model.