Yasca > Documentation > Memory Exhaustion

Yasca can throw an error when it runs out of memory. This error will probably look something like this:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2222807 bytes) in <file> on line <#>

This is due to the limited amount of memory available to PHP. By default, the value is 128 MB, which should be enough for most cases. In case you need more, you can change the value of memory_limit in the resources/php.ini (or resources/php_linux.ini if youre on Linux). For example, you can make it:

memory_limit = 256MB

This problem can actually face any product that uses PHP, so if you've landed on this page after searching for that error message, you can probably use this information to fix it for that application too.

Scovetta.com is a personal website. Opinions expressed are my own, and not those of my employer or any groups I am affiliated with.
 
Search Scovetta.com
Advertisement
Page Tools
print Bookmark and Share
Social Networking
twitter delicious digg reddit
Contact
linkedin keys email comments