Title: Error memory
Last modified: August 21, 2016

---

# Error memory

 *  Resolved [polov](https://wordpress.org/support/users/polov/)
 * (@polov)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/error-memory-1/)
 * Hello,
    i have this error: `Fatal error: Out of memory (allocated 35389440) (
   tried to allocate 288 bytes) in /homepages/2/...../htdocs/wp-content/plugins/
   wp-statistics/includes/log/log.php on line 259`
 * [http://hpics.li/9714fad](http://hpics.li/9714fad)
 * the line 259 in log.php is:
    `$url = parse_url($items->referred);`
 * thanks
 * [https://wordpress.org/plugins/wp-statistics/](https://wordpress.org/plugins/wp-statistics/)

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

 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-memory-1/#post-4800033)
 * WP Statistics is memory intensive, especially the overview page. Increase your
   memory available to PHP.
 *  Thread Starter [polov](https://wordpress.org/support/users/polov/)
 * (@polov)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-memory-1/#post-4800040)
 * thanks
 * ok
    I added a php.ini file folders wordpress with this line: `memory_limit = 
   32M` then this line with: `memory_limit = 64M`
 * and it does not change!
 * (now wordpress 3.8.2)
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-memory-1/#post-4800055)
 * You have to change the php.ini file that resides in your PHP directory, not one
   in the WordPress directory.
 * They you may have to restart your web server depending on the configuration.
 *  Thread Starter [polov](https://wordpress.org/support/users/polov/)
 * (@polov)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-memory-1/#post-4800059)
 * hello,
 * ok thanks
    I will contact my hosting for this…
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-memory-1/#post-4800060)
 * No problem.
 *  Thread Starter [polov](https://wordpress.org/support/users/polov/)
 * (@polov)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-memory-1/#post-4800090)
 * Hello,
    hosting limit my PHP: 40M If I want to increase the memory of my PHP 
   I have to pay!
 * I tried to put a php.ini with 40M in wordpress files but it does not change.
   
   I tried through the htaccess, no such change, always the same error message.
 * What’s weird is that I installed a plugin to see the PHP memory and displays 
   it:
    [http://www.hostingpics.net/viewer.php?id=882415memoryPHP.jpg](http://www.hostingpics.net/viewer.php?id=882415memoryPHP.jpg)
 * only 19% used either 19.9 MB / 40 MB
 * I think completely disable the plugin then reinstall
    – How can we remove the
   references in the database?
 * Thank you for help
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-memory-1/#post-4800100)
 * Re-installing won’t help you on this. I don’t know what plugin you used to determine
   the used memory, but it probably doesn’t capture in use memory while WP Statistics
   runs.
 * WP Statistics is very memory intensive when it processes the data (storing the
   data is very lightweight in comparison).
 * If you can’t increase the memory available WP Statistics won’t work for you, 
   sorry.
 * You can delete the data from the database through Statistics->Optimization->Purging-
   >Empty Table.
 * To remove the tables themselves, you have to use a SQL utility like phpMyAdmin
   to drop the three wp_statistics_* tables.
 *  Thread Starter [polov](https://wordpress.org/support/users/polov/)
 * (@polov)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-memory-1/#post-4800105)
 * plugin memory is WP-Memory-Usage
    [https://wordpress.org/plugins/wp-memory-usage/screenshots/](https://wordpress.org/plugins/wp-memory-usage/screenshots/)
 * on page WP plugin also appears in the form of a line and it indicates:
    Memory:
   19.77 of 40
 * > WP-Statistics is is very memory intensive
 * ok, I think my wordpress is normal, and 40MB of memory that is correct
 * WP-Statistics has worked well for me for 2 months, and then suddenly it crashed
   there a few days with this error message
    I did nothing special
 * thanks for database
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-memory-1/#post-4800107)
 * That would make sense, the more data WP Statistics has to process the more memory
   it takes.
 * You may want to enable the auto pruning of the database, Statistics->Settings-
   >Maintenance, sounds like you could set it to 45 days or something and still 
   be functional.
 *  Thread Starter [polov](https://wordpress.org/support/users/polov/)
 * (@polov)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-memory-1/#post-4800109)
 * sorry but the page Statistics-> Optimization does not appear (it is empty)
    and
   there are other visual bugs in WP-Statistics for me
 * so I was forced to disable your plugin and delete tables
 * thank you for your support
 * may be I would reinstall later …

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

The topic ‘Error memory’ is closed to new replies.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [polov](https://wordpress.org/support/users/polov/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/error-memory-1/#post-4800109)
 * Status: resolved