WordPress Update; “Allowed memory size of…” error

Ever go to update WordPress and received this error?

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2516357 bytes) in /home/edm/public_html/wp-includes/http.php on line 1363

That’s because the php.ini is setup to only allocate so much memory to script execution. In this case, my .ini file was set to only allocate 32MB; hence 33554432… 33554432 byte = 32 megabytes. We only need another ~2.5MB to run the script (according to the error) but I think it’s better to be safe than sorry and aim high so you don’t have to dick with it again. You can change this at runtime, or in the php.ini file. Here’s how to do both…

Change at runtime:

  1. Go to the file listed in the error message (in this case, http.php)
  2. At the top of the file inside the opening PHP tag (say, line 2) paste the following snippet
    • ini_set(“memory_limit”, “64MB”);
    • substitute 64 for whatever you want, within reason
  3. Save the file and re-run the updater/script

Change in php.ini (my preferred method)

  1. Locate the php.ini file
    • if you don’t know where it is, or don’t have access to it contact your host
  2. Inside the file, do a find on “memory_limit”
    • mine was line 232, default value of 32MB…
  3. Replace the old value [32MB] with your value of choice… I chose 128
    • you can go as high as you want…
    • IMHO, not more than 128MB should be needed for a WP… you’d have to have some thing rendering images/pdf’s or something to need more
  4. Save the file and re-run the updater/script

If you change this in the .ini file, you *shouldn’t* run into this when you update next time. If you’re using the runtime method, you’ll probably need to make this change each time you update. Basically, if you have the option, just bump it up in the .ini file. It will save you a grumble and 30 seconds the next time you go to update WordPress. If you don’t have the option of updating the .ini file, you’re stuck with changing it at runtime. If you get sick of editing http.php every update, talk to your host about updating/locating the .ini file.

As always, comments and questions are welcome!

Popularity: 1%

Socialize:
  • Facebook
  • Twitter
  • Google Bookmarks
  • Digg
  • del.icio.us
  • email

Press Release: LIOR LEVY’S “WAY DOWN” GETTING LOTS OF ATTENTION

LIOR LEVY’S “WAY DOWN” GETTING LOTS OF ATTENTION
Digital Insomnia Recordings Artist Lior Levy’s New Single “Way Down” Gets Support of Big Name DJs

Lior Levy’s latest single has quickly grabbed the attention of several well known DJs. Released under Digital Insomnia Recordings, “Way Down” graced the ears of thousands after earning a spot on Paul Van Dyk’s radio show, “Vonyc Sessions”.

Wolverhampton, England (www.digital-insomnia-recordings.co.uk) February 23, 2010 — Several months ago, UK based record label Digital Insomnia Recordings (DIR) acquired the talent of Electronic/Digital music artist, Lior Levy. Lior has grown from piano at 10 years old, to electronic music producer at age 20, to now at age 25 having one of the hottest releases on the label to date.

Though not officially out until April 8th 2010, the private distribution has generated quite a buzz. Gaining support from big guns like Judge Jules, Vicky Divine, John Askew, Ashley Wallbridge to name a few. It received massive exposure when it was aired on Paul Van Dyk’s 181st episode of “Vonyc Sessions”.

The release includes Lior’s original production as well as remixes by Darren Bayton, Light Sequence, Mr. DSC Funk, Ben Hunt, and Vlegel.  Dash Berlin commenting on the package saying, “Very strong mixes in this pack, very well done!”

This being Lior’s first release, it seems to be setting a fantastic pace for his first album. No word on when to expect it’s completion, but he plans to start production of shortly after Winter Music Conference 2010 at the end of March.

With such a heavy support and being released so early in 2010, the months to come at bound to be very exciting. More singles, remixes/promos, and the upcoming album are sure to have Lior busy, and the DJs & fans craving more!

If you would like more information on the artist or label, please contact Darren Bayton at darren@digital-insomnia.co.uk, or Ed Meacham at promote@edmeacham.com

em, db, em

Message sent using the Android Gmail client.

Popularity: 5%

Socialize:
  • Facebook
  • Twitter
  • Google Bookmarks
  • Digg
  • del.icio.us
  • email

Social Networking; Combine, Condense

I’ve dabbled in combining a few of my social networking accounts, just because I don’t want to log into all of them to post an update [the same update] on each one. The only two I’ve combined so far, are Twitter and Facebook. I added the Twitter app to my Facebook account, then added the TwitterBar plug-in to Firefox; both get updated from my address bar. Yay… Done.

Ping.fm is a bit different; much more broad. They’ve taken the Meebo approach and made it so you log into each through their interface, and the site processes the updates you submit– basically, the site logs into each of your accounts, for you, as you, and post the updates from one to all the others you’ve added to your Ping account. I was really surprised at the number of sites they support.

Still not sure if I’d actually use this though… I often regret setting up Meebo. :/ Anyone have any thoughts?

Popularity: 2%

Socialize:
  • Facebook
  • Twitter
  • Google Bookmarks
  • Digg
  • del.icio.us
  • email

Congrats to Ben Hunt; Marcus Schulz GDJB props

Ben’s remix of Arjona’s Hold Me was played on Global DJ Broadcast today!Ben Hunt

For those of you who live without Trance (I’m not sure how you do it… but anyway) every Thursday, Marcus Schulz has a new episode of The Global DJ Broadcast. The show typically boasts live, practice, or pre-recorded sets from his current tour schedule. Marcus is favorite of thousands worldwide, and he’s just given Ben a HUGE amount of support by tracking this remix.

I talked to Ben for a few minutes on Facebook this evening. He’s pretty excited. I think I’m more excited that him, though. Ben’s great at what he does, and is only getting better. I’m curious to hear what Mr. Bayton (Pink Bomb) has to say…

Popularity: 5%

Socialize:
  • Facebook
  • Twitter
  • Google Bookmarks
  • Digg
  • del.icio.us
  • email

Online File Screening, Virus/PUP Scanner

I’ve come across several *suspiciously named files* in recent months… Windows has a funny habit of creating directories with seemingly random names, and caching/storing less than intuitively name executables in them… Yay Windows DEV team. Yay. Let’s continue to use a proprietary naming convention that raises suspicion, and pisses people [me] off. Thank you Garritt Grandberg for bestowing upon me, early on, the reason/idea for LOGICAL NAMING CONVENTIONS. Sit on it Microsoft. <rant />

At any rate, I have been using a free online tool to check the files I find: http://www.virustotal.com

I’ve not been let down since I started using it. That’s not to say that you’ll be able to build your security policy based of it’s findings, but they’ve done a solid job thus far.

As always, be smart about trusting anything you didn’t aquire yourself… just because some scanner says it’s safe, doesn’t mean you should try opening it on a hand full of machines. *cough-Wells_Fargo_employees-cough-cough*

Cheers

Popularity: 6%

Socialize:
  • Facebook
  • Twitter
  • Google Bookmarks
  • Digg
  • del.icio.us
  • email