Fatal error: allowed memory size when after using enqueue_script

The problem is the de-registering the core-bundled version of jQuery, and re-registering using your own, arbitrary version.

Do not de-register core-bundled versions of scripts (especially jQuery) in order to register arbitrary/custom versions of those scripts. Doing so can and will cause breakage and unintended consequences.

If you’re doing so in order to cause your custom scripts to function properly, then the underlying problem lies with the way you call your scripts. Most likely, you are not accounting for jQuery no-conflict when you instantiate your scripts.