Dealing with the Unix optimistic memory allocation bug in Stata