1. A computer program product comprising software stored on a non-transitory software storage device, the software comprising: first program instructions programmed to receive a memory dump data including a set of stack(s), including at least a first stack which includes a current stack portion; second program instructions programmed to remove from the memory dump data a first removed data portion that comes from a portion of the first stack to yield an optimized memory dump data; third program instructions programmed to determine respective ranking values for a plurality of ranked data portions from the set of stacks; fourth program instructions programmed to select a ranked data portion from the current stack portion of the first stack to be a first removed data portion based, at least in part, upon the ranking values; and fifth program instructions programmed to write the optimized memory dump data to a file.