Micro Focus Expert
Micro Focus Expert

(PC) Support tip - PC Analysis throws: Exception of type 'System.OutOfMemoryException'

In PC12.01P2, analyze results operation from PC is fails with error: Analysis.ApiLib.ApiException: Failed to apply template. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown

This error could occur due to large number of error messages in the scripts used inside the loadtest and when large results set get generated. Need to check the scripts and Vuser logs for any out of boundary conditions for the unique value parameters if used inside the script and fix the scripts before running them in actual loadtests. This should prevent the above error from happening

Microfocus Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Labels (1)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.