The show system memory command has been added with the release of AOS-Switch 16.08.0002: this new command displays the System Name, Product SKU, Flash and RAM sizes.
An example:
aruba# show system memory
RAM and Flash - System Memory Information
System Name : aruba
Product SKU : JL357A
Flash Size : 4 GB
RAM Size : 1 GB