Hello @prachinigam and thanks for reaching out to us!
Check your site or server error logs for any memory errors. You will see something similar to this:
‘PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 36287088 bytes) in /path/to/public_html/wp-includes/wp-db.php on line 1989’
This means that there isn’t enough memory allocated to PHP for everything you have going on with the site. That memory is cumulative so all your plugins, your theme, WordPress, and any other PHP apps you have running share it. If it isn’t enough this PHP error occurs. The file path involved in the error is just the final process to run when it crashed. In this case you can add it in php.ini or .user.ini depending on your hosting set up. 256M is usually what I see most sites set to but if you have a larger site setting it to 512M isn’t out of the question. Also making sure you have PHP 7.0 or above will help since 7 introduced some really nice memory handling improvements.
NOTE: Some hosts may have this configured to not allow users to set a higher value for memory_limit locally, so you will have to contact your host to increase your memory allocation.
Let me know if this helps!
Thanks!