[#2097] Ignore errors for peak memory.

Problem
----

Unable to run tests on Windows 7 64bit after latest update. Looks like there is a compatibility issue with the WMI.

Changes
-----

Ignore errors for now. This will be properly fixed in another ticket 2096.

How to test
----

reviewers @adiroiban 

Please check that code looks ok. Thanks.