WordPress out of memory allocated issue?

If you are on any environment you did not personally set up, you may not have the permissions to override the php.ini file.

Also some plugins can manually do:

ini_set( 'memory_limit', '512M');

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)