Governor limits are limits enforced by the Apex runtime engine to ensure that runaway Apex does not monopolize shared resources in the multitenant environment. These limits are tracked and enforced during the execution of Apex code and if a governor limit is exceeded an uncatchable runtime ...

learn more… | top users | synonyms (1)

0
votes
1answer
12 views

Site bandwidth limit and request time set at sandbox values in a production org - increase via support request?

Just noticed that a customer's (enterprise) production org has in the "24-Hour Usage History" panel of a Force.com Site: Bandwidth Limit: 1 GB Service Request Time: 30 minutes These correspond to ...
6
votes
1answer
43 views

How to best analyze limit problems in the Developer Console

I have a somewhat complex piece of code that runs into Limit Exceptions under some circumstances. The complexity comes from: Code is in manages extension package, the base package itself depends on ...
3
votes
2answers
127 views

Number of synchronous concurrent requests for long-running requests that last longer than 5 seconds for each organization

The title is one of the limits of salesforce. Link : https://www.salesforce.com/us/developer/docs/pages/Content/pages_apex_governor_limits.htm but I'm not understanding in a full way the meaning of ...
3
votes
1answer
52 views

Does scheduled Apex use synchronous or asynchronous governor limits?

People tend to lump "batch" and "scheduled" Apex together, given that the former is often invoked from the latter. The way they're talked about, it's easy to think that they are both examples of ...
-1
votes
2answers
35 views

How to resolve the apex Governor limit exceptions?

i am newly move into salesforce. am facing some exception problems. For example: In my Controller, lot of insertion and updation of data. whatever the Trigger i have inside my all, they are getting ...
0
votes
0answers
14 views

Batch apex error “Apex CPU Time limit exceeded error” [duplicate]

I have created batch apex class to insert records into salesforce but i got an error i.e."CPU time limit exceeded error" Please help me to solve this error. global virtual class InsertProductData ...
3
votes
2answers
46 views

Heap size limit in Javascript Remoting method

I'm fairly sure that Remoting is Asynchronous. The docs state that the Apex heap size limit is 6Mb for a Synchronous op, and 12Mb for an Asynchronous op. However, from my RemoteAction (@Readonly) ...
2
votes
1answer
61 views

Web Service limits for inbound calls to managed package

I am developing an AppExchange managed package intended for multiple organizations. I have a web-service in the managed application which I will invoke from my java based server to achieve few ...
6
votes
1answer
48 views

REST API - Sforce-Limit-Info header not returned

I'm using SFDC's REST API to access org data. According to the docs (https://www.salesforce.com/us/developer/docs/api_rest/Content/headers_api_usage.htm), each request to the REST API should return a ...
3
votes
1answer
73 views

Using @future tag on Apex Webservice but code not executing asynchronously

With the winter '15 release over the weekend some mission critical code for us is now getting the infamous "Apex CPU time limit exceeded". It worked fine for the past 8 months until this release. (as ...
3
votes
1answer
147 views

System.AsyncException: Database.executeBatch cannot be called from a batch start, batch execute, or future method on batch within batch

I am attempting to call a batch within a batch. The reason why I am attempting this is because the values returned in the main batch is used in a query to grab other records to be updated from a ...
1
vote
1answer
85 views

Batch apex error in apex job : Exceeded max size limit of 3000000

Using Batch apex i am trying to Insert new records in to custom object from json string in salesforce from API url. When my batch apex class run i got this error in apex log. please explain me
0
votes
1answer
68 views

How to manage the governor limit : Maximum number of Apex classes scheduled concurrently : 100

I launch a batch which call a lot of scheduled job. But I reach the governor limit : Maximum number of Apex classes scheduled concurrently : 100 I'm wondering what happens when this limit is ...
2
votes
1answer
70 views

How does API request limit count

Our org has hit API Request Limit again yesterday which is 25k in 24 hours. Since it is not a small number I am wondering how does that count. Suppose we were running a test class, how many API calls ...
8
votes
1answer
91 views

Group by Rollup: Visualforce Remoting Exception: Too many query rows: 1000001

I have 557,029 Foo objects in my org. I want to count how many of each kind of picklist value there are within these: Type 1 - 100,000 Type 2 - 60,000 Type 3 - 40,000 Type N - N I thought I could ...
0
votes
3answers
91 views

System.LimitException: Too Many SOQL Queries: 101 in Trigger

Following is my trigger I get the following error System.LimitException: Too Many SOQL Queries: 101 in Trigger Here is my trigger trigger SubscriberUpdateTrigger on Subscriber__c (after Insert, ...
3
votes
2answers
51 views

What is the importance of Heap size limit?

I don't understand the importance of heap size limit of 6MB. So could someone help me understand the heap size limit?
2
votes
1answer
65 views

Tackle Callout Limit Salesforce

I am creating an managed application for salesforce appexchange listing. App Functionality: On certain update events a trigger will send a few non-critical information to a external server ...
3
votes
1answer
26 views

dailly email limits

I have gotten this error in production SINGLE_EMAIL_LIMIT_EXCEEDED I am sure i have maxed out the daily email limit of 1 000 limit info ...
6
votes
1answer
96 views

Does Javascript Remoting Count Towards API Limits?

As the title says, do Javascript remoting calls count towards API limits? I know that calls to an Apex REST API count towards them, but I don't know if this is the same for remoting calls.
0
votes
0answers
12 views

SINGLE_EMAIL_LIMIT_EXCEEDED [duplicate]

I wrote one trigger for sending mail to admin account. " SINGLE_EMAIL_LIMIT_EXCEEDED". anybody knows the solution? trigger MailToAdminAfterDeletingEmployee on Employee__c (after delete){ ...
0
votes
2answers
42 views

Batch Class CallOutLimit Doubt

As we have 10 callout governor Limit in each execution . So I can query 100 records in start and execute the batch class with batch size as 1 and do 10 callout for each record . So total I can query ...
-1
votes
2answers
107 views

Too Many SOQL Queries 101 though limit 100 [duplicate]

I am getting this error though limit 100 is provided in SOQL statement.Can someone please suggest a way out here? Apex code: public class Attachments_11{ public List<attachmentCaseWrapper> ...
1
vote
1answer
46 views

What Is The Limit On Record Count When Using Upsert in Apex?

When using Apex in a transaction, what is the maximum number of records that can undergo the upsert command? Example: I am consuming a web service (SOAP) that returns me a lot of information. I ...
4
votes
1answer
69 views

Maximum CPU time limit allowed to be exceeded in Sandbox

I recently deployed some code to a production org after significant bulk testing in my Sandbox. There were no problems so assumed it was ok to promote. After promotion however, certain processes ...
2
votes
2answers
315 views

Disadvantages of the Force.com platform - are these (still) true? [closed]

I'm evaluating pros and cons for building an integration with Salesforce on Force.com platform. This time, I'm curious to what extent are the following points (still) valid, since they were made a ...
12
votes
1answer
191 views

Does API calls to Apex REST service published on a public Force.com site come under Daily API Limit

I have a public Force.com site without any pages. I have created a APEX REST service and added it to the force.com site. So the APEX REST service will be accessible public without authentication. All ...
4
votes
2answers
144 views

Governor limit SOQL 101 being suppressed. How?

As far as I know, Governor limits can not be suppressed and will be shown to user on the UI. However I am facing below scenario where SOQL 101 limit is being logged into debug log and not being shown ...
7
votes
2answers
649 views

Handling Large JSON String Values on Visualforce Page

I'm using amcharts to build graph on a visualforce page. The amcharts's input is JSON. So I parse my object to JSON string using JSON.serializePretty. Using this approach, the graph is built fine and ...
4
votes
2answers
114 views

Batch Apex: Can I run code prior to running 'Execute' code on batches, and will it affect governors limits?

Below is my question in a nutshell, using the framework for a batch apex class: global class ActOn_Batchable implements Database.Batchable<sObject>{ string query = 'query here'; **CAN ...
0
votes
1answer
502 views

Error: 'System.LimitException: Too many SOQL queries: 101' [duplicate]

I am getting an error: 'System.LimitException: Too many SOQL queries: 101' when I run a testing class for another class similar to this one, which is located in the same Object. I am trying to use ...
4
votes
2answers
83 views

Running into Trigger Depth Limit

I can't seem to get my head wrapped around this one. We have main account that has many child account and what I'm trying to do is to use a trigger to automatically add up a field (eg. FieldA) and ...
1
vote
1answer
58 views

Do emails sent by workflow rule count towards processing time?

Our app contains a workflow rule that sends an email to the user when a case or lead is assigned to them. The email template contains a component with a controller that uses soql to populate the email ...
2
votes
1answer
140 views

Time Based Workflow - Records not getting added to the queue? or Queue limit exceeded?

What is the Maximum size of the Time Based Workflow Queue? I'm not able to find the record which are satisfying the rule criteria in the queue. The Workflow queue shows only 1000 records for a search ...
1
vote
1answer
30 views

Current email invocations count by org

I have developed a pretty cool, reusable piece of apex code that allows a user to define which fields on a given object that are of interest when field values change. When a field changes on an ...
4
votes
2answers
3k views

How to paginate > 10000 records. SOQL OFFSET and StandardSetController too limiting

I am working on pagination and i am able to display my records on my VF page and i have done pagination to get the record get display. But the pagination work only when the no of records is less than ...
3
votes
5answers
78 views

Is there a limit on HTTP Callouts within 24 hours?

Can someone please help me out with this: "What is exact no of HTTP callouts we can make in 24 hours?"
3
votes
1answer
32 views

Do emails sent with addresses set in setCcAddresses count against the daily email limit?

Will emails sent with values in setCcAddresses for external users count against our daily email limit?
0
votes
1answer
119 views

Hitting future call limit with Geocoding trigger

This trigger seems to work pretty well for Geocoding accounts... trigger AccountGeocode on Account (after insert, after update) { system.debug('AccountGeocode trigger fired'); ...
-1
votes
1answer
201 views

How can I replace a SOQL in a loop by a list? [closed]

I am hitting the governor limits on Event object and I need to change some lines in my Apex Class to avoid SOQL statements in For Loops. I got this affirmation from the support. Someone could help me ...
1
vote
1answer
116 views

How to refer one chatter:feed component for two custom objects in a page?

Could you please suggest on this? Requirement is to create a "News Feed" page for records from two custom objects. I am able to use a component to get the feeds for records from one object but ...
0
votes
2answers
287 views

HELP : System.LimitException: Too many SOQL queries: 101 [duplicate]

This is my first trigger, on my custom object Affaire: Trigger MissionrollupAffairesDossier on Affaire__c (after delete, after insert, after update, after undelete) { //Cumul de montants d'affaire ...
1
vote
2answers
496 views

Internal Salesforce.com Error MAXIMUM DEBUG LOG SIZE FATAL_ERROR|

Please help, I am not sure what is going on. I have an email service which is processing file attachment. Yesterday it was almost ready to go to production. I just finalized some test cases. Then ...
2
votes
1answer
282 views

Third party API has callout time limits: how to catch with error handling, and how to control callout timing?

The third party API I'm working with (Act-On, a marketing software), has a limit of 5 callouts per minute in their sandbox. Unfortunately for me, some of my code requires that I loop through a series ...
7
votes
2answers
229 views

Getting record count through WebService bypassing LIMITS

I have written the below web service class to return record count. But it is returning the following message "System.LimitException: Too many query rows: 50001". How could I overcome this limit? ...
2
votes
2answers
118 views

Describe limits for objects with a lot of picklists from remoteTK

we are using remoteTK on a salesforce project and its working great except for one very specific issue. We are hitting governor limits with describes for one of the objects. IT has 150 picklists ...
10
votes
1answer
215 views

Total number of SOQL queries issued

In a SOQL query with parent-child relationship sub-queries, each parent-child relationship counts as an additional query. These types of queries have a limit of three times the number for ...
3
votes
1answer
310 views

Custom Settings Limit: Cached data limit

Perhaps a silly question? In the Limits reference regarding custom settings we see "Custom Settings: Cached Data Limit" Where the limit is described as: The total amount of cached data allowed ...
3
votes
2answers
1k views

Help with :Too many SOQL queries: 101 - How to debug where it's failing [duplicate]

Having a problem with below code reaching too many queries (we have Hubspot and I'm receiving the error on HubSpot_Inc in my tests).I avoided using queries in loops, so looking for suggestions on how ...
1
vote
2answers
172 views

Organization detail shows API Requests, Last 24 Hours 298 (5,000 max). What are the variables contributing to the API requests?

When i check the Organization detail for the API usage for the day, it shows API Requests, Last 24 Hours 298 (5,000 max). According to my knowledge i did not made any API request. But i worked in ...