Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

What can I do if I receive a "perfrun.exe" crash when replaying a COM script?

What can I do if I receive a "perfrun.exe" crash when replaying a COM script?

COM Support was deprecated in Silk Performer 2011, so this article is only applicable up until Silk Performer version 2010 R2.


If you encounter a COM crash when replaying a COM script the reason may be that Silk Performer's COM Support has a setting where you can limit the number of array elements passed or returned to a COM interface method. The default setting is three, and is found at:



If your script passes multi-dimensional arrays with more than three elements then this setting will need to be adjusted accordingly.


Another symptom of this problem is that the recorder will comment some lines in the script because the Silk Performer recorder doesn't record array elements of an index higher than the profile setting.
For example:

//ComSetBounds(hFunc0, "arrSPParams[7]", 1, 4);


To resolve this issue you should change the profile setting "Max number of table elements" in the COM profile section to a higher number so that all elements will be recorded.


After changing this setting you should record a new script.


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 18:39
Updated by:
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.