<p>I'm trying to launch a basic "yiic migrate create BasicMe MyPlugin"<br>
But every time the memory gets exhausted, whatever memory_limit I set (I even tried 8Gb).</p>

<pre><code>Fatal error: Allowed memory size of 3279945728 bytes exhausted (tried to allocate 72 bytes) in /path/to/craft/app/framework/base/CComponent.php on line 266  
</code></pre>

<p>Any idea what's causing it ?  </p>

<p>Nicolas</p>

CC BY-SA 3.0
2015-04-03T15:56:48.097Z
Sounds like an infinite loop somewhere eating up all the memory. Any stack trace getting logged in `craft/storage/runtime/logs`?
Brad Bell
CC BY-SA 3.0
2015-04-03T16:08:07.350Z
just in the phperrors.log file  PHP Fatal Error  If I output $name  from __call function, I get "getTranslatedBrowserLanguage"
Nicolas Binet
CC BY-SA 3.0
2015-04-03T16:11:19.173Z
Are you on the latest version of Craft? I vaguely recall a bug similar to this that was fixed.
Brad Bell
CC BY-SA 3.0
2015-04-03T16:43:21.277Z
"You're up to date" it says.
Nicolas Binet
CC BY-SA 3.0
2015-04-03T17:29:14.583Z
If you have xDebug setup, you can set a breakpoint on `yiic` and step through and see where the loop is. Otherwise, if it's on a publicly accessible box and you want to throw some SSH credentials to support@buildwithcraft.com, we can look into it.
Brad Bell
<migration>
Yiic migrate command not working (memory exhausted)
# Yiic migrate command not working (memory exhausted)

(Asked by: username_0 on 2015-04-03)

I'm trying to launch a basic "yiic migrate create BasicMe MyPlugin"
But every time the memory gets exhausted, whatever memory_limit I set (I even tried 8Gb).
Fatal error: Allowed memory size of 3279945728 bytes exhausted (tried to allocate 72 bytes) in /path/to/craft/app/framework/base/CComponent.php on line 266  

Any idea what's causing it ?  
Nicolas

**Tags:** migration

> **Comments:**
> **username_1**: Sounds like an infinite loop somewhere eating up all the memory. Any stack trace getting logged in `craft/storage/runtime/logs`?  
> **username_0**: just in the phperrors.log file  PHP Fatal Error  If I output $name  from __call function, I get "getTranslatedBrowserLanguage"  
> **username_1**: Are you on the latest version of Craft? I vaguely recall a bug similar to this that was fixed.  
> **username_0**: "You're up to date" it says.  
> **username_1**: If you have xDebug setup, you can set a breakpoint on `yiic` and step through and see where the loop is. Otherwise, if it's on a publicly accessible box and you want to throw some SSH credentials to support@buildwithcraft.com, we can look into it.  

---

## 0 answers

