Title: Scan always interrupted
Last modified: August 31, 2016

---

# Scan always interrupted

 *  Resolved [fgdorsemaine](https://wordpress.org/support/users/fgdorsemaine/)
 * (@fgdorsemaine)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/scan-always-interrupted/)
 * Error reported in the Scan Detailed Activity window
 *  Fatal error: Out of memory (allocated 31981568) (tried to allocate 3070273 bytes)
   in /homepages/13/d222739452/htdocs/duskopopov/wp-includes/wp-db.php on line 1127
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

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

 *  [WFBrian](https://wordpress.org/support/users/wfbrian/)
 * (@wfbrian)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/scan-always-interrupted/#post-6958018)
 * Hi,
 * How much memory do you have allocated to your site? That error usually means 
   not enough memory is available.
 * [http://docs.wordfence.com/en/Wordfence_system_requirements#Memory](http://docs.wordfence.com/en/Wordfence_system_requirements#Memory)
 * -Brian
 *  Thread Starter [fgdorsemaine](https://wordpress.org/support/users/fgdorsemaine/)
 * (@fgdorsemaine)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/scan-always-interrupted/#post-6958020)
 * Wordfence Memory benchmarking utility version 6.0.22.
    This utility tests if 
   your WordPress host respects the maximum memory configured in their php.ini file,
   or if they are using other methods to limit your access to memory.
 * –Starting test–
    Current maximum memory configured in php.ini: 128M Current memory
   usage: 15.00M Setting max memory to 90M. Starting memory benchmark. Seeing an
   error after this line is not unusual. Read the error carefully to determine how
   much memory your host allows. We have requested 90 megabytes.
 * <b>Fatal error</b>: Out of memory (allocated 34603008) (tried to allocate 36 
   bytes) in <b>/homepages/13/d222739452/htdocs/duskopopov/wp-content/plugins/wordfence/
   lib/wordfenceClass.php</b> on line <b>2821</b>
 *  Plugin Author [WFMattR](https://wordpress.org/support/users/wfmattr/)
 * (@wfmattr)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/scan-always-interrupted/#post-6958209)
 * [@fgdorsemaine](https://wordpress.org/support/users/fgdorsemaine/): It looks 
   like you are running out of memory far below the limit set in php.ini.
 * On the Wordfence options page, under the Other Options section, look for “How
   much memory should Wordfence request when scanning”, and set it to 256, if it
   is not set already.
 * If it was already set, check your .htaccess file, and make sure that there is
   no memory limit set there. The memory could also be limited by another plugin,
   but this should be rare if it’s not something you chose intentionally.
 * Near the bottom of the Wordfence options page, you can also try the link “Click
   to view your system’s configuration in a new window” and look for a section labeled“
   Additional .ini files parsed” — sometimes this will list other files that have
   been included, which may set the limit. (In some cases, there may be a lot of
   files that would not be relevant for this issue.)
 * If none of these help, you may need to ask your host to increase the memory your
   site can use. They might be limiting memory in another way, outside of php.ini.
 * -Matt R

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

The topic ‘Scan always interrupted’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [scan](https://wordpress.org/support/topic-tag/scan/)

 * 3 replies
 * 3 participants
 * Last reply from: [WFMattR](https://wordpress.org/support/users/wfmattr/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/scan-always-interrupted/#post-6958209)
 * Status: resolved