(no ticket) Autodetect memory limit in sinolpack's problem statement

Change-Id: I015e3af631ef36d3cf13ced77117eb95c6bb3aac