In the thread, http://search-hadoop.com/m/q3RTtcQiFSlTxeP/test+failed+due+to+OOME&subj=test+failed+due+to+OOME, it was discussed that memory consumption for SparkListenerSuite should be brought down.
This is an attempt in that direction by reducing numSlices for local metrics test.
Run completed in 57 seconds, 357 milliseconds.
Reducing numSlices to 16 results in:
Run completed in 44 seconds, 115 milliseconds.