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=
)
ITMS 8.x
Asset Management Solution 8.x
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 do 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: