Activity Forums Salesforce® Discussions Apex CPU time limit exceeded while updating through Data loader

  • Prakhar

    Member
    June 10, 2016 at 2:17 pm

    Hii Nitish,

    It seems like you are using nested for loop in your code which is making constant hit to the DB. Since Salesforce has certain limitations such as 100 SOQL queries limit 150 DML statements etc. and similarly it inserts or updates the record 200 at a time for bulk insertion or updation through data loader.

    So I would suggest try to optimize your code or share your code.

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Zendesk to Salesforce

Zendesk and Salesforce Connector - Hassle-free Data Migration from Zendesk to Salesforce

Blog in

From small businesses to large organizations, data migration is a challenge. Also, keeping the data secure during different phases of the migration process has been … Continue reading Zendesk and Salesforce Connector - Hassle-free Data Migration from Zendesk to Salesforce

Popular Salesforce Videos

Salesforce Admin Certification 2020 Questions Explained with References - Part I

Video in

How to prepare and pass Salesforce Admin Certification with Practice Exam Questions 2020 practice questions and answers for the Salesforce Administration Salesforce Certified Admin Exam … Continue reading Salesforce Admin Certification 2020 Questions Explained with References - Part I