5

How many Visualforce pages i can create in salesforce? I have gone through this link http://wiki.developerforce.com/page/Developer_Edition
but they haven't mentioned about limit for visualforce pages.
I can see the limit for apex code in setup->develop->Apex Classes which is of 3,000,000 characters.

5
  • 2
    I don't think there is a limit on the amount of VF pages but you would probably hit other limits first. Example: you can only deploy a maximum of 5,000 classes and triggers in one go so if all your VF pages had controllers you would hit that limit when deploying. You also have a limit of 3MB for all code in the org
    – BarCotter
    Nov 29, 2013 at 11:59
  • 1
    but it is showing 5.0 MB of data storage and 20 MB file storage, I thought data storage is for code. :)
    – Sven
    Nov 29, 2013 at 12:06
  • 1
    No thats object data. e.g. All the Contact and Account records. Its 5MB in a dev org and a minimum of 1GB in production
    – BarCotter
    Nov 29, 2013 at 12:10
  • 1
    @BarCotter I'm not aware of any limit on the number of VF pages either. I'd recommend you create an answer out of your comments btw, i think they add a lot of clarity to the original question. Nov 29, 2013 at 12:23
  • Ive added an answer based on my first comment.
    – BarCotter
    Nov 29, 2013 at 12:31

1 Answer 1

7

I don't think there is a limit on the amount of VF pages but you would probably hit other limits first. Ive listed out some limits below that you might run into. See here for a full list of limits

If all your VF pages had controllers you might hit this limit when deploying:

Maximum number of class and trigger code units in a deployment of Apex - 5,000

The 3 MB of apex code limit would also be used up if all your VF pages had controllers:

Maximum amount of code used by all Apex code in an organization - 3 MB

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .