Most of the time we face the memory issue in the WordPress. To fix the issue just copy and paste below code into your wp-config.php file. The wp-config.php file located in the root directory of your WordPress setup.
In WordPress we’ll register the post metaPost Meta Meta has several meanings, but generally means information about. In WordPress, meta usually refers to administrative type information. for any post, page etc. We can get all post meta keys which is assigned to any post from post type. Use below code snippet: https://gist.github.com/84fa96b952eadfd56d25c5d2852cd70f