addendum to c410d165: also limit memory per handle