Error: "OutOfMemoryException Msg=Exception of type System.OutOfMemoryException was thrown." occurs when trying to use Duplicate User Merge
Last Updated October 15, 2009
When using Duplicate User Merge, the error "OutOfMemoryException Msg=Exception of type System.OutOfMemoryException was thrown." occurs. This may cause server performance to stop, requiring a server reboot. No records are later found to have been merged.
This happens whether the Duplicate User Merge is run manually or by schedule.
Log entries for the error occur, such as:
Process: aexsvc.exe (6588) Thread ID: 2936 Module: AltirisNativeHelper.dll Source: Altiris.NS.Logging.EventLog.FlushReportedEventThreadProc Description: Exception of type System.OutOfMemoryException was thrown. ( Unhandled exception. Type=System.OutOfMemoryException Msg=Exception of type System.OutOfMemoryException was thrown. Src= StackTrace= )
Required fields are blank in the users table Inv_Global_User_General, such as the Given and Surname fields. When the Duplicate User Merge runs, it finds each iteration of the blank fields as a "match", then repeats for everyone, greatly increasing the "matches" and causing the out of memory issue.
This can occur if data from Active Directory (Connector rules, etc.) imports of users do not bring in the required fields. The more records that exist like this, the greater the issue and potential for server instability.
Populate the blank fields to ensure that the Duplicate User Merge works correctly and does not result in out of memory errors. This can be done in various ways but may be time consuming, depending on how many records require updating. For example:
Add the required data in Active Directory and perform a new AD import into the Notification Server.
Bring in the data using a Connector Import Rule.
Workaround. Set up a collection of those users with blank fields and then add that as an exclusion to the Duplicate User Merge to bypass them for now, until their data can be entered.
Imported Document ID: TECH42286
Subscribing will provide email updates when this Article is updated. Login is required to Subscribe