QUESTION:
I am getting the following error when attempting to process in PeopleImport. How can I resolve?
2011-07-20T06:06:26-04:00,,"",,Update,,,,," Message: MyLeadTrigger: System.LimitException: Too many DML rows: 10001 Status code: 13"
ANSWER:
This type of error occurs when there is a custom APEX trigger (in this example "MyLeadTrigger"), that has not been properly optimized for batch processing.
The exact same error would occur if you tried to insert/update the same groups of records via the Salesforce Data Loader.
You can either fix the trigger or lower the "Update/Insert Batch Size" setting in the PeopleImport Options menu which may also allow the process to complete successfully.
The default setting is 100, but this can be set as low as 1. Please keep in mind that the smaller the batch size the more API calls will be used per insert/update, and there is a limit imposed by Salesforce on how many API calls are allowed in a 24 hour period.