Jump to content


Website Crashing - Running out of Memory

  • Please log in to reply
2 replies to this topic

#1 Sweet Pea

Sweet Pea


  • Member
  • Pip
  • 2 posts
  • Main OS: Other

Posted 28 February 2017 - 06:45 PM

Hi.  I'm new here, so please bear with me.  I am also the user as well as the host, so plain English would be brilliant if anyone replies.


My host computer runs Uniform Server on Windows Server 2008. 


There aren't many sites on the server, but about once a week, my site will just come up with an error page


PHP Fatal error out of memory allocated 4194304 tried to allocate 114688 (plus the URL).  The memory had been increased to 3Gb just to see if it could sort the problem.  The more memory that it's given, it just takes a bit longer to crash, but it does crash.  It's almost like it's using the memory, but not releasing it

#2 Lyle


    Support Team Member

  • Support Team
  • PipPip
  • 54 posts
  • Gender:Male
  • Location:Calgary, AB Canada
  • Interests:GeneratePress
    WP Show Posts
  • Main OS: Windows 8

Posted 02 March 2017 - 03:43 AM

Hi Sweet Pea,


The memory referred to in the error is memory allocated to PHP and is not the server memory :)


To increase the PHP memory limit:

- stop Apache in the UniServer Control Panel (USCP)

- from the USCP, select PHP > Edit selected configuration file

- this will open the currently in use php.ini file in Notepad

- perform a Find for the word memory

- the first instance will be:


; Maximum amount of memory a script may consume (128MB)
memory_limit = 128M
- change 128M to 256M and File > Save
- restart Apache
That should do it :)

GeneratePress / Elementor / WP Show Posts / Do It Yourself WordPress - Sniffle Valve


You want a WordPress website and you want it now - GOOD CHEAP FAST WEBSITES


Don't take life too seriously ... nobody has ever gotten out of it alive  :)



#3 Sweet Pea

Sweet Pea


  • Member
  • Pip
  • 2 posts
  • Main OS: Other

Posted 02 March 2017 - 10:42 AM

Thank you, I will try that :)

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users