Fatal error: Allowed memory size

I tried to upgrade from 7.2.2 to 7.3.2 and the the software upgrade with the following error message.

“Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /home/vozcomm/public_html/hkcrm/custom/modules/Contacts/Ext/Vardefs/vardefs.ext.php on line 199”

The new version is working fine but now not able to access the upgrade wizard and the above error message is coming.

Please help as I want to upgrade the software to the latest version.

Hi,

We usually recommend the following for upgrades, (Where issues like hitting the memery size limit occur)

I’d recommend taking a copy of your php.ini file, just in case you want to change the values back, and perform the following changes:

Modify and save the value of Maximum upload size to 21000000 (20MB) in the Advanced section of the System Settings page of your current SuiteCRM installation.

Navigate to the php.ini file on your web server and configure the parameters listed below in the Advanced section of the System Settings page of your current SuiteCRM installation:
    Set post_max_size to at least 60MB
    Set upload_max_filesize settings to at least 60MB
    Set max_input_time to a large number
    Set memory_limit to 256MB 

If you do the above, you may have to restart your apache / IIS service.

After doing so, I’d recommend backing up your DB and SuiteCRM, then trying to upgrade again.