Detect memory (7/31)

Detect memory