title: Yii App Reaches Memory Limit On Linux Server
body: <p>I have a really strange problem and I dont know how to solve it. My application reaches memory limit from time to time and Internal server error 500 happens. I have limit of 570MB on shared hosting. I tried to debug my application and YiiDebug Toolbar shows that every page is consuming about 10-12MB of memory. I dont really get where is the problem. On my local wamp server, there are no problems.</p>
  
  <p>Can anyone help me? At least tell me where to start looking for memory leaks because I dont see any obvious.
  This is unpredictable problem, it does not happen on some particular request.
  I already commented 'YII_DEBUG' line in index.php.</p>