Tag Archives: apex develeopment

Heap Size Salesforce: Elephant in the room

Heap size salesforce is a common, yet neglected problem whenever it comes to Salesforce Apex development. Salesforce heap size is the count of memory used by the variables, object instances in an Apex class.

In order to store these objects & variables, memory is allocated in Salesforce which is derived from allocated Heap. The Salesforce Heap size truly depends on the type of transaction, Salesforce provides a heap size limit of 6MB for synchronous transaction and 12 MB for asynchronous transaction.

Whenever, too much data is stored during processing an error occurs prompting Apex heap size too large. You must have encountered this error at least once if you are a developer.

Here are a few tips to ensure that the heap limit does not exceed the maximum size and your code runs smoothly

salesforce heap size limit

Continue reading

Posted in Salesforce, Salesforce.com. Tagged with , , .

Developing Visualforce Apps using Salesforce Angular

Have you ever wondered how cool it would be to have the flexibility and features Salesforce Angular JS framework provides, inside a Visualforce page in Salesforce platform? Well, wait no more, keep reading to get a perfect solution for this. This blog will introduce you to AngularJS in salesforceand how to develop Visualforce apps using angular.

Every web application requires client-side JavaScript, HTML, and CSS. Without using any server framework like Rails, Node, PHP, etc. the entire application can be built using just the front-end tools and languages.

What is ANGULARJS in Salesforce?

Salesforce Angular JS is a powerful JavaScript framework for constructing dynamic web applications. It is used to develop mobile and web applications. The good thing about Angular is that it has a set of primed modules to simplify the building of single page applications. Single page application (SPA) is a web application that dynamically renders the data on the current page without reloading the whole page. All the code (JS, HTML, and CSS) is retrieved with a single page load and navigation between pages is performed without reloading the whole page.

Continue reading
Posted in force.com app development, salesforce development. Tagged with , , , .