Detect memory (5/31)

Detect memory