• Guide
  • Introduction
    • Mission
    • Key Products
  • Domain Name
    • Managing Domain Settings
    • Domain Privacy
  • Hosting
    • Setting Up a Website
    • Managing Hosting Resources
  • Website Builder
    • Designing a Website Without Coding
    • Customization and Templates
  • WordPress Hosting
    • Installing and Configuring WordPress
    • Managing Plugins and Themes
  • Email Services
    • Email Features
    • Email Security
  • Security and SSL
    • Configuring SSL certificates
    • Protecting Against Common Threats
  • Marketing
    • SEO Basics
    • Email Marketing
  • Support
    • Knowledge Base
    • Community Forums

Build An eCommerce Website with US Domain Center

International eCommerce Website Design Company and eCommerce Website Development Agency using USDomainCenter

  • Home
  • WooCommerce
  • Website Builder
  • Marketing Agency
  • Services
  • About
  • Contact

October 23, 2023

A Beginner’s Guide to Fixing the WordPress Memory Exhausted Error by Increasing PHP Memory with US Domain Center Hosting

If you’re a beginner WordPress user hosted with US Domain Center, you may encounter the “WordPress Memory Exhausted Error,” which occurs when your website exceeds the allocated PHP memory limit. This error can disrupt your website’s functionality and display a message like “Fatal error: Allowed memory size exhausted.” In this guide, we’ll explore how to fix this error by increasing PHP memory, ensuring smooth operation of your WordPress website.

Understanding the WordPress Memory Exhausted Error

The WordPress Memory Exhausted Error occurs when your website’s PHP scripts require more memory than the limit set in your server’s PHP configuration. This can happen due to various factors, including the use of resource-intensive plugins or themes, large media files, or inefficient code.

Why Increase PHP Memory?

Increasing PHP memory allows your WordPress website to handle more complex tasks and process larger amounts of data without encountering memory-related errors. By allocating additional memory, you can prevent the WordPress Memory Exhausted Error and ensure optimal performance of your website.

How to Increase PHP Memory in WordPress

Follow these beginner-friendly steps to increase PHP memory for your WordPress website hosted with US Domain Center:

Step 1: Identify the Error

  1. When encountering the WordPress Memory Exhausted Error, take note of the error message displayed on your website. It typically indicates the file and line number where the error occurred.

Step 2: Access Your WordPress Files

  1. Log in to your US Domain Center hosting account and navigate to the File Manager or use an FTP client to access your WordPress files.

Step 3: Edit the wp-config.php File

  1. Locate the wp-config.php file in the root directory of your WordPress installation.
  2. Right-click on the file and select “Edit” (or download the file, edit it using a text editor, and re-upload it).
  3. Add the following line of code just before the line that says “/* That’s all, stop editing! Happy blogging. */”:
php
define( 'WP_MEMORY_LIMIT', '256M' );

Replace ‘256M’ with the desired amount of memory limit. US Domain Center recommends a limit of 256MB, but you can adjust this value based on your website’s requirements.

Step 4: Save Changes and Test

  1. Click “Save” to update the wp-config.php file.
  2. Visit your WordPress website to ensure that the Memory Exhausted Error no longer occurs.

Conclusion

The WordPress Memory Exhausted Error can be a frustrating issue for beginners, but increasing PHP memory is a simple and effective solution to resolve it. By following the steps outlined in this guide, complete beginners hosted with US Domain Center can easily adjust PHP memory settings for their WordPress website, ensuring smooth operation and optimal performance. If you continue to encounter memory-related issues, consider optimizing your website’s plugins, themes, and content to reduce memory usage and improve overall efficiency.

Article by admin / Tutorials / PHP

Subscribe to our newsletter and be the first to know about new worksheets and other educational resources!

eCommerce Solutions Provider

Welcome to BigbSmallb, a leading e-commerce company with offices in New York and California. About Us At BigbSmallb, we're proud to be recognized as an award-winning e-commerce website development and digital marketing firm. With a presence in New York and California since 2004, we've partnered … Continue Reading




Recent Posts

  • Step-by-Step Tutorial: Creating a Magento E-commerce Website with US Domain Center
  • How to Easily Create a Social Network Website in WordPress with US Domain Center: A Beginner’s Guide
  • Unlocking Exclusive Content: The Power of WooCommerce Memberships
  • How to Create a Job Board Website in WordPress with US Domain Center: A Beginner’s Guide
  • How to Create a Blog or Personal Website with US Domain Center: A Beginner’s Guide

US Domain Center

US Domain Center, a domain and hosting company that BigbSmallB both uses and recommends.

US Domain Center: (480) 624-2500
24/7 Support Expert Support

Popular

  • Domain Name
  • Web Hosting
  • Web Hosting Plus
  • WordPress Hosting
  • Website Builder
  • Microsoft 365 Email

Recommended

  • Domain Transfer
  • SEO Tools
  • Website Security
  • VPS Hosting
  • Dedicated Server
  • Comprehensive Guide

Useful

  • Bulk Registration
  • Bulk Transfer
  • Domain Backorder
  • WooCommerce Hosting
  • Website Backup
  • Managed SSL

US Domain Center

  • Login Page
  • Create Account
  • Recover Username
  • Recover Password
  • Microsoft 365 Login
  • Help Center
  • Home
  • WooCommerce
  • Website Builder
  • Marketing Agency
  • Services
  • About
  • Contact

Copyright © 2025 · BigB SmallB · All Rights Reserved.