memory before size now, optional leading forward slash is supported (added earlier but forgot to comment)