Size the leak test allocation base on memory class.

bug 11566001

This will avoid early failure on low memory devices.

Change-Id: I67a3831b010bcb56aa70a477170dd5090328dcaa
1 file changed