Title: [Plugin:Gravity PDF] &#8211; Memory Allocation Discrepency
Last modified: August 31, 2016

---

# [Plugin:Gravity PDF] – Memory Allocation Discrepency

 *  Resolved [rdembrun](https://wordpress.org/support/users/rdembrun/)
 * (@rdembrun)
 * [10 years ago](https://wordpress.org/support/topic/plugingravity-pdf-memory-allocation-discrepency/)
 * I’ve been having a slew of issues with WP in the last week, but I was _finally_
   able to get a hold of my hosting to ensure that I had enough memory allocation
   for Gravity PDF’s.
 * That said, I changed my php.ini file to php5.ini, per the guidance of the hosting.
   They said that’s the file that was needed.
 * Then, I updated the code in the php.ini to
 * `memory_limit = 164M’ the requirement request for Gravity PDF.
 * HOWEVER, I get weird issues with Gravity PDF settings, as I have 164 listed, 
   but the settings page will sometimes say I’ve allocated 256M to it, OR I’ve only
   allocated 64M to the resources. So I’m not quite sure what the plugin is pulling.
   Anyone seen this before?
 * [Screenshot of my file + Gravity Forms settings](http://s32.postimg.org/dydrtd191/availablememory.jpg)

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

 *  [Jake Jackson](https://wordpress.org/support/users/blue-liquid-designs/)
 * (@blue-liquid-designs)
 * [10 years ago](https://wordpress.org/support/topic/plugingravity-pdf-memory-allocation-discrepency/#post-7364187)
 * Thanks for providing detailed information about your problem, as well as the 
   screenshot.
 * While you may have set the memory limit to 164M in your php.ini, PHP allows you
   to change this value on the fly. I recommend trying to change the memory limit
   by adding the following to your wp-config.php file: `define('WP_MEMORY_LIMIT','
   256M');` to see if that resolves your problem.
 * [See the WP docs for more info about this option](https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP).
 *  Thread Starter [rdembrun](https://wordpress.org/support/users/rdembrun/)
 * (@rdembrun)
 * [10 years ago](https://wordpress.org/support/topic/plugingravity-pdf-memory-allocation-discrepency/#post-7364268)
 * That seems to do the trick (adding it to the wp-config file). As someone that
   likes to understand, why would you need it in both locations? Shouldn’t one location
   be sufficient? I’ll mark this resolved, but curiosity gets the best of me. 🙂

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

The topic ‘[Plugin:Gravity PDF] – Memory Allocation Discrepency’ is closed to new
replies.

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [rdembrun](https://wordpress.org/support/users/rdembrun/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/plugingravity-pdf-memory-allocation-discrepency/#post-7364268)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
