Allowed Memory size exhausted

谁都会走 提交于 2019-12-06 09:00:50

问题


I have wamp and change configuration in php.ini still show below error while importing zip sql file to database in phpmyadmin

Allowed memory size of 67108864 bytes exhausted (tried to allocate 69931615 bytes) in C:\wamp\apps\phpmyadmin3.5.1\libraries\zip_extension.lib.php

I have changed following to php.ini:

upload_max_filesize = 32M

memory_limit = 64M

post_max_size = 120M

I have zip file to imort is size of 16.1 MB


回答1:


Well, change it again.
A 16.1 MB zip may contain a 120MB SQL file. And PHPmyAdmin may want some for itself.

Just set your memory_limit to 512M or try to import files of lesser size.

Another opportunity is to unzip your file manually and then feed it to mysql console app or Sypex Dumper



来源:https://stackoverflow.com/questions/15024443/allowed-memory-size-exhausted

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!