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

Popular Salesforce Videos

How to Crack Salesforce Platform Developer I Exam in 2021?

Video in

Salesforce Platform Developer I Certification Training ensures that you master the concepts and components of application development on the Salesforce platform. Watch this video and … Continue reading How to Crack Salesforce Platform Developer I Exam in 2021?

Build Smarter Apps with Einstein Object Detection

Video in

Einstein Object Detection allows you to easily integrate advanced computer vision technology into your Salesforce workflows and external applications. Join us and learn how to … Continue reading Build Smarter Apps with Einstein Object Detection