Support » Fixing WordPress » Exceeding Memory Limit While Testing out theme

  • Resolved Jacob Martella


    So I’m trying to create my own theme. It’s the first time I’m doing this, and I’m fairly new to code, but I’m picking up on it pretty quick.

    Anyway, I downloaded XAMPP to test the theme on the localhost; however, when I upload the theme to the test site and activate it, I get this:

    “Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261904 bytes) in C:\xampp\htdocs\wordpress\wp-includes\plugin.php on line 69”

    I’ve tried increasing the memory limit and all, but nothing works.

    Any help before it drives me insane?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 1. does the theme work properly on XAMPP ?
    2. how much the memory limit you set on your site ?
    3. if it’s below 128MB, then change to 128MB.
    4. But if it’s already 128MB, your site(host) may limit the memory limit under 128MB even you configure as 128MB.
    5. your site eat too much memory (could be theme or plugin)

    This is the first theme I’ve ever written and I’m learning php on the go (though my understanding has greatly improved lately.That being said, I really rushed through writing the code and probably missed something very important. I’m currently rewriting the entire code more thoroughly. I’ll update as soon as that is done with.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exceeding Memory Limit While Testing out theme’ is closed to new replies.