+ Start a Discussion
Niket ShahNiket Shah 

Apex CPU time limit exceeded error on full sandbox but not on Developer Org

Hello,

We are facing Apex CPU time limit exceeded error on full sandbox which has around 700 GB data. But the same does not happen on the developer org which is quite light.
This error is occuring when we are trying to query some objects in Apex code and not performing any DML operation.
Any suggestion what could cause this error? Can the amount of data impact the performance of the salesforce org? Over all our sandbox org is much slower then the developer org.

Any help would be highly appreciated.

Thanks
Niket ShahNiket Shah
Also to make it more clear, even though the data size is large in Sandbox, we are querying only those objects which have same record counts in developer & sb i.e. the objects have same data in both orgs
Amit Chaudhary 8Amit Chaudhary 8
Can you please post your code. This issue used to come if you will wright for loop inside for loop.
 
Niket ShahNiket Shah
Hi Amit, Thanks for the response. The problem is we do not have access to Product code as it is on Managed Package. We are trying to reach out the Product Team to help with the code.

But I was curious to know why the issue could happen on one org and not on another org having almost similar amount of data & configurations.