Title: Using all PHP memory
Last modified: August 21, 2016

---

# Using all PHP memory

 *  [RobReg](https://wordpress.org/support/users/robreg/)
 * (@robreg)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/using-all-php-memory/)
 * Hello,
    This is a really great plugin and I like using it. I’m trying to add 
   a lot of categories, 1 for each city in the world with a population of over 15,000…
   That’s around 23,000 cities and therefore categories.
 * Unfortunately, I cannot add more than 25 at a time because it runs out of memory.
   The error I get is this:
 * “Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate
   3753263 bytes) in /homepages/6/d292166717/htdocs/travelblog/wp-includes/wp-db.
   php on line 885”
 * Is there anything that can be done about this?
 * I’d like to rate the plugin highly, but at hte moment I can’t because it just
   doesn’t work for me.
 * Thanks,
    Rob
 * [http://wordpress.org/extend/plugins/bulkpress/](http://wordpress.org/extend/plugins/bulkpress/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [compumatter](https://wordpress.org/support/users/compumatter/)
 * (@compumatter)
 * [12 years ago](https://wordpress.org/support/topic/using-all-php-memory/#post-3849815)
 * Got the same problem on an import of 6000+ Google product categories.
 * # First attempt result: PHP Warning: Unknown: Input variables exceeded 1000. 
   To increase the limit change max_input_vars in php.ini.
    # Set these values in
   php.ini
 * max_input_vars = 10000
    suhosin.post.max_vars = 10000 suhosin.request.max_vars
   = 10000
 * # Next attempt, PHP Fatal error: Allowed memory size of 268435456 bytes exhausted
   #
   Increased memory_limit in php.ini
 * memory_limit = -1
 * Still all failed !
 * Any ideas here ?
 *  [compumatter](https://wordpress.org/support/users/compumatter/)
 * (@compumatter)
 * [12 years ago](https://wordpress.org/support/topic/using-all-php-memory/#post-3849816)
 * We have spent the last 3 hours trying to get this wonderful plugin to import 
   the Google products taxonomy as Product Categories.
 * We could sure use your input. Please have a look at the ongoing post on WPMUdev.
   org: [http://premium.wpmudev.org/forums/topic/category-list-importing-ebay-or-other](http://premium.wpmudev.org/forums/topic/category-list-importing-ebay-or-other)
 * Your thoughts would be of great value to that group and this one 😉
 * Jay
    CompuMatter
 * P.S. Be happy to chip in 50 bucks to your paypal if you can get us past this.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using all PHP memory’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bulkpress_c3d2da.svg)
 * [BulkPress](https://wordpress.org/plugins/bulkpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bulkpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bulkpress/)
 * [Active Topics](https://wordpress.org/support/plugin/bulkpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulkpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulkpress/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [compumatter](https://wordpress.org/support/users/compumatter/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/using-all-php-memory/#post-3849816)
 * Status: not resolved