Detect memory (30/31)

Detect memory