How do I add more memory?

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

How do I add more memory?

Postby dferriman » 30. April 2009 20:36

I am getting this error:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 19456 bytes) in /Applications/XAMPP/xamppfiles/htdocs/EIC/modules/user/user.admin.inc on line 959

How do I allocate more memory? or am I reading this right it tried to run 19456 and that was more than 8388608??? I am a little confused :?:
dferriman
 
Posts: 11
Joined: 29. April 2009 15:25

Re: How do I add more memory?

Postby Wiedmann » 30. April 2009 21:59

Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: How do I add more memory?

Postby dferriman » 30. April 2009 23:52

Wiedmann wrote:
How do I allocate more memory?

http://de.php.net/manual/en/ini.core.php#ini.memory-limit


Okay, so where do I make the change? I do not have this problem on my server, so it shouldn't be Drupal with the issue, is this a code i need to change on index.php in Xampp? or where?

Thanks!
dferriman
 
Posts: 11
Joined: 29. April 2009 15:25

Re: How do I add more memory?

Postby Wiedmann » 01. May 2009 09:51

so where do I make the change?

In the "php.ini"?
--> Because the page from the link starts with: "This list includes the core php.ini directives you can set to configure your PHP setup."
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: How do I add more memory?

Postby dferriman » 01. May 2009 11:53

gottcha, thanks! I missed that :)
dferriman
 
Posts: 11
Joined: 29. April 2009 15:25

Re: How do I add more memory?

Postby dferriman » 01. May 2009 17:01

it worked!

In case anyone has the same problem later here is the path to the file:

/Applications/XAMPP/etc/php.ini

Just change line 232:

memory_limit = 8m

to:

memory_limit = -1

That will give it unlimited memory. If you want to limit the memory, set it how you want ;)
dferriman
 
Posts: 11
Joined: 29. April 2009 15:25


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 2 guests