Fatal Error: allowed memory size
Posted by: MikeHS (---.w90-21.abo.wanadoo.fr)
Date: September 16, 2007 11:52PM

When trying to import a database into phpMyAdmin I get this error message:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 5077816 bytes) in E:\wamp\phpmyadmin\libraries\unzip.lib.php on line 325

Line 325 is: $vZ = gzinflate($vZ);

Does anyone have a clue what this is about?

The database was exported from an existing fully functional database in .zip form

You've probably gathered I'm new to this

Cheers
Mike

Options: ReplyQuote
Re: Fatal Error: allowed memory size
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: September 17, 2007 11:55AM

open php.ini ( c:\wamp\apache2\bin\php.ini ):

find:
post_max_size = 8M

change to:
post_max_size = 750M


find:
upload_max_filesize = 2M

change to:
upload_max_filesize = 750M

save the file and restart apache for the changes to take effect.



CyberSpatium
----------------------
WAMP English Forum Admin

I have WAMP5 working with (for development use only):
Windows Vista Ultimate x64 (64 bit)
Kaspersky Internet Security Suite 7.0.x
Spyware Terminater 2.x
CounterSpy 2.5.x


Need help? Check out my [url=http://forum.wampserver.com/read.php? f=2&i=12300&t=12300][u][b]WAMP User Manual/Guide[/b][/u][/url] here!


[url=http://www.webdevnewbie.com][u][b]Web Development for Newbie's Blog[/b][/u] [/url] - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.


[url=http://www.clarifyloans.com][b][u]Clarify Loans[/u][/b][/url]
Mortgage and Home Loan Advice


[url=http://www.laxgo.com][b][u]LaxGo Web Directory[/u][/b][/url]
Powerful human edited web directory of quality, spam-free sites organized via a comprehensive category structure.

Options: ReplyQuote
Re: Fatal Error: allowed memory size
Posted by: MikeHS (---.w90-21.abo.wanadoo.fr)
Date: September 17, 2007 04:28PM

That did the trick, many thanks

Cheers
Mike

Options: ReplyQuote
Re: Fatal Error: allowed memory size
Posted by: vxhxcx (4.79.245.---)
Date: November 15, 2007 06:46PM

Hi,

I'm having the same issue.
I'm running WAMP5 on Windows XP machine.
I'm configuring MediaWiki and when uploading a PNG file I get the following error:
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 9111816 bytes) in localhost\creativewiki\includes\media\Bitmap.php on line 168

I've searched everywhere on the internet, and I keep runing into the same stuff that I've already tried.

I configured my php.ini to memory_limit=1024M and post_max_size=1024 I have also referred to the MediaWiki website but the suggestion was the same: increase memory_limit size.

Any ideas?

Thanks!
- Victor.

Options: ReplyQuote
Re: Fatal Error: allowed memory size
Posted by: vxhxcx (4.79.245.---)
Date: November 15, 2007 08:00PM

Nevermind. The error was caused by the LocalSettings.php file for MediaWiki.
If you ever run into this issue, try setting the ini_set('memory_limit','20M') to a higher number, like ini_set('memory_limit','30M')

Cheers!

- V.

Options: ReplyQuote
Re: Fatal Error: allowed memory size
Posted by: leianleague (---.mia.bellsouth.net)
Date: October 18, 2010 08:54PM

CyberSpatium Wrote:
-------------------------------------------------------
> open php.ini ( c:\wamp\apache2\bin\php.ini ):
>
> find:
> post_max_size = 8M
>
> change to:
> post_max_size = 750M
>
>
> find:
> upload_max_filesize = 2M
>
> change to:
> upload_max_filesize = 750M
>
> save the file and restart apache for the changes
> to take effect.
>
>
>
This Works but don't forget you also have to change the memory_limit

memory_limit=750M

Options: ReplyQuote


Sorry, only registered users may post in this forum.