Dynatrace Service Graph Connector creates duplicate em_impact_rule records / Event Mangement - Impact Tree Builder job high memory usageDescriptionIf you have a large number of em_impact_rule records with the name "Service Member" and you use the Dynatrace Service Graph Connector you have been impacted by this issue. Please follow the workaround to improve the performance of your instance until a fix has been released. Search to diagnose: https://[instance-name].service-now.com/em_impact_rule_list.do?sysparm_query=name%3DService%20Member&sysparm_view=Steps to Reproduce 1. Setup the Dynatrace Service Graph Connector 2. Monitor the em_impact_rule table: https://[instance-name].service-now.com/em_impact_rule_list.do?sysparm_query=name%3DService%20Member&sysparm_view= 3. Each time the SG connector imports data, em_impact_rules are created.WorkaroundRequired role: admin 1. Run the following background script to clean up the em_impact_rule table, please uncheck "Cancel after 4 hours" in case the script takes a while to run. var gr = new GlideRecord("em_impact_rule"); gr.addQuery("name", "Service Member"); gr.addQuery("sys_id", "!=", "2088a1d2932002000fb3b9ab357ffbfa"); gr.query(); while (gr.next()) { gr.deleteRecord(); } 2. Amend the DynatraceImpactCalculation script include (https://[instance-name].service-now.com/nav_to.do?uri=sys_script_include.do?sys_id=c2e57d47777930100dfa1bfaae5a99dc)-You need to make a multiline comment (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Grammar_and_types#comments) that stops lines 47 - 68 & 76 from being executed. Once the fix has been released, please "revert" the DynatraceImpactCalculation script to the OOTB version provided in the plugin upgrade, you can do this by reviewing the skipped changes in the plugin installation history post-upgrade. 0. Upgrade to a fixed version1. Navigate to System Definition > Plugin Installation History2. Find the record from the Dynatrace Service Graph Connector installation record & open it3. In the Customisations Unchanged related list you will find the script include. Please accept the version from the plugin installation to overwrite the workaroundRelated Problem: PRB1660507