{"action":"created","issue":{"url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/194","labels_url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/194/comments","events_url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/194/events","html_url":"https://github.com/fmbiete/Z-Push-contrib/issues/194","id":83046869,"number":194,"title":"Memory error","user":{"login":"mikhail-guru","id":7569252,"avatar_url":"https://avatars.githubusercontent.com/u/7569252?v=3","gravatar_id":"","url":"https://api.github.com/users/mikhail-guru","html_url":"https://github.com/mikhail-guru","followers_url":"https://api.github.com/users/mikhail-guru/followers","following_url":"https://api.github.com/users/mikhail-guru/following{/other_user}","gists_url":"https://api.github.com/users/mikhail-guru/gists{/gist_id}","starred_url":"https://api.github.com/users/mikhail-guru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikhail-guru/subscriptions","organizations_url":"https://api.github.com/users/mikhail-guru/orgs","repos_url":"https://api.github.com/users/mikhail-guru/repos","events_url":"https://api.github.com/users/mikhail-guru/events{/privacy}","received_events_url":"https://api.github.com/users/mikhail-guru/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-31T09:11:02Z","updated_at":"2015-06-06T18:20:20Z","closed_at":null,"body":"Z-Push crashes when processing IMAP mail.\r\n\r\n```2015/05/31 11:55:00 [error] 15634#0: *2412 FastCGI sent in stderr: \"PHP message: PHP Fatal error:  Allowed memory size of 201326592 bytes exhausted (tried to allocate 20257532 bytes) in /usr/local/share/z-push-contrib/include/mimeDecode.php on line 811\" while reading response header from upstream, client: x.x.x.x, server: xxx.xxx, request: \"POST /Microsoft-Server-ActiveSync?User=xxx@xxx&DeviceId=XXX&DeviceType=iPhone&Cmd=Sync HTTP/1.1\", upstream: \"fastcgi://unix:/var/run/php5-fpm.sock:\", host: \"xxx.xxx\"```"},"comment":{"url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/comments/109628428","html_url":"https://github.com/fmbiete/Z-Push-contrib/issues/194#issuecomment-109628428","issue_url":"https://api.github.com/repos/fmbiete/Z-Push-contrib/issues/194","id":109628428,"user":{"login":"mikhail-guru","id":7569252,"avatar_url":"https://avatars.githubusercontent.com/u/7569252?v=3","gravatar_id":"","url":"https://api.github.com/users/mikhail-guru","html_url":"https://github.com/mikhail-guru","followers_url":"https://api.github.com/users/mikhail-guru/followers","following_url":"https://api.github.com/users/mikhail-guru/following{/other_user}","gists_url":"https://api.github.com/users/mikhail-guru/gists{/gist_id}","starred_url":"https://api.github.com/users/mikhail-guru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikhail-guru/subscriptions","organizations_url":"https://api.github.com/users/mikhail-guru/orgs","repos_url":"https://api.github.com/users/mikhail-guru/repos","events_url":"https://api.github.com/users/mikhail-guru/events{/privacy}","received_events_url":"https://api.github.com/users/mikhail-guru/received_events","type":"User","site_admin":false},"created_at":"2015-06-06T18:20:20Z","updated_at":"2015-06-06T18:20:20Z","body":"Restarting workers is a great idea, thanks for this tip, maybe it will help. If don't — then I'll try to find the root of problem, sometime. Yes, I programming in PHP, I even tried to re-write this part for chunk processing but with no big success, the result was the same — it seems somewhere a memory leak which need to be profiled.\r\n\r\nPS: You are doing a great work!"}}