A memory leak can occur sometimes in PROC LOGISTIC when it computes a Wald statistic, causing abnormal termination of the procedure.
You might be able to avoid the problem by removing options or statements from the procedure that compute additional statistics, but this is not a guaranteed solution.