posts_results filter function memory errors

Sorry folks – for those curious, I had already solved this later on in my functions.php file and forgot to turn this filter off (silly). Here’s the better solution if anyone cares to comment or improve. Basically, I’m filtering out content based on user role (I have a custom user role as well) so that … Read more

WordPress vps memory allocation

First, I have to tell you that this all depends on the server size and the amount of resources your WordPress site uses. That being said, I set my php memory limit to between 256 and 512 MB. WordPress sites can be slow for a large variety of reasons. Performance often improves by tweaking database … Read more

How can I figure out where memory is being used?

I found it: it was a massive set of WordPress cron jobs that I had inadvertently accumulated. The technique I used was to keep removing things from the database in the clone that weren’t in the blank install, watching the memory in query monitor to see what dropped it.