Merge pull request #1704 from marex/arm/master/memsize-passing-v1

Arm/master/memsize passing v1