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

The Only Salesforce Developer Video Tutorial Course You Will Ever Need!

Video in

A Salesforce developer is a programmer who builds Salesforce applications across various PaaS (Platform as a Service) platforms. A Salesforce developer has an understanding of … Continue reading The Only Salesforce Developer Video Tutorial Course You Will Ever Need!