Site.pro
  • Website Builder
    • Website Builder
    • Prices
    • Website Import
    • Online Stores
    • Plugins
    • Collaboration
    • Templates
    • Languages
    • Affiliate Program
    • Examples
    • AI Website Builder
    • For Design Studios
    • We Build for You
  • Domains
  • Email
  • Learn
    • Tutorials
    • Blog
    • FAQ
    • Growth Hacking
    • For Hostings
    • Domainity
    • For Education
  • For Resellers
    • Prices
    • White Label
    • Revenue Share
    • Panels
    • How it Works
    • Mass Import
    • Our Partners
    • Reselling Examples
    • Marketing Materials
    • Documentation
    • Free Websites
  • Website Builder
    • Website BuilderEverybody can easily create a website, landing page, or e-commerce store.
    • PricesSite.pro Prices: Templates 200+, Websites, Basic Builder Functions, Online Stores
    • Website ImportTransfer your existing website from anywhere to Site.pro website builder
    • Online StoresSell your goods or services anywhere on the website
    • PluginsMany functions and plugins depending on geographical preferences
    • CollaborationCollaborative Website Builder, Create a website with teammates in real-time in one space
    • Templates
    • Languages
    • Affiliate Program
    • Examples
    • AI Website Builder
    • For Design Studios
    • We Build for You
  • Domains
  • Email
  • Learn
    • TutorialsVideos for Beginners
    • BlogWebsite Builder Lifehacks:Shared hosting tips. Web Design, Marketing
    • FAQHelp center. Payment Issues. Basic Tutorial. Quick search.
    • Growth HackingBoost your sales. Strategy
    • For HostingsEducation. Generate more website builder sales
    • DomainityDomainity: Domain quantity per 1000 people
    • For EducationFree Website Builder for Online and Offline Classrooms
  • For ResellersWhite Label
    • PricesStart reselling. Pay for live websites. Free Websites
    • White LabelThe most popular white label tool is ideal for reselling
    • Revenue ShareWebsite Builder: Provide free website builder and earn 50% commissions
    • PanelsOne product for all platforms. Download plugin for your panel
    • How it WorksCloud or On-Premises. Recommendations for Builder Server
    • Marketing MaterialsVideo. Mockups. Website Blocks. Marketing Materials.
    • Mass Import
    • Our Partners
    • Reselling Examples
    • Documentation
    • Free Websites
  • inputRegister

    Register

    (Buy Domain, Create email)
    (For Hosting Companies)
    By registering, you accept our Terms of Service
    Number of Customers: 1-100
    Number of Customers: 1-100
  • Log in

    Log in

    New user? Create account
    Forgot password?
  • $
  • English
Please use keywords in English only.
Account & Billing (34)Mixpanel (2)License (24)Managing Website (12)Domains: Purchasing (15)Domains: Connecting (26)Mailboxes (26)Brand: Cloud (5)Brand: On-Premises (14)Installation: Builder (10)Installation: Builder Plugin (5)Hosting/Billing panels: cPanel (9)Hosting/Billing panels: DirectAdmin (7)Hosting/Billing panels: ISPmanager (4)Hosting/Billing panels: Plesk (7)Hosting/Billing panels: Webuzo (2)Hosting/Billing panels: WHMCS (5)Website Builder: Plugins (5)Website Builder: Website creation (52)Website Builder: Pictures (11)Website Builder: Media (15)Website Builder: Additional (8)Website Builder: Text (14)Website Builder: Import (5)Website Builder: SEO (21)Website Builder: Social (13)Website Builder: Commerce (80)Website Builder: Maps (12)Website Builder: Forms (6)Website Builder: Advanced (18)Website Builder: Errors (21)Web Design Studio (3)Affiliate Program (7)Education (8)
Filter
All (506) For Hosting Companies (396) For Website Owners (376)
FAQ
›
Hosting/Billing panels: DirectAdmin
Server error (6): Fatal error: Allowed memory size exhausted
For Hosting Companies

Server error (6): Fatal error: Allowed memory size exhausted

The solution listed in this FAQ is also applicable to 'Error: Server error (6): Error response code (502) from Publish API' error

If you are using DirectAdmin and get this error during publication website, most probably that means that there is one or more quite large files uploaded into media library and they require a little more memory to be published. By default, there is a limit of 128M setup in DirectAdmin for PHP. To increase it, take the following steps:

  1. Login to server terminal as root user;
  2. Type command php --ini. One of lines in output will be:
    Loaded Configuration File: [path of php.ini file]
  3. Open this file with editor: nano [path of php.ini file] (replace here "[path of php.ini file]" with your path);
  4. Find needed line by pressing Ctrl+W, then typing "memory_limit" and pressing Enter;
  5. Increase the value for this parameter (if it is 128M, try to increase it to 256M);
  6. Save file.

After that check the publication of website again whether the error was resolved.


People also found this article using these queries:

  • How to fix 'Server error (6)'?
  • Error response code (502) from Publish API
  • Guide to fix Server Error 6
  • Fatal error: Allowed memory size exhausted
  • The website builder cannot publish due to exhausted memory size
  • DirectAdmin Server Error
© Site.pro 2011. Website Builder. United States.
Contact SalesTerms of Service