adapted memory limit to reflect actual card limits