-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of memory #27
Comments
Hi @efeferrari |
I tried in local and development environments. In both, I set ini_set memory_limit to 1 GB. |
Same issue, Any luck on finding a fix for this? |
I try with a new iOS certificate and works fine, but it's still a bug get an "Out of memory" instead an "invalid certificate" 🤔 |
Hi @efeferrari @Drozes , For now, as @efeferrari said , you can generate a new certificate and try with it. It's not the first time that generating a new certificate solves some issues.. |
Hi also having this issue with a new cert, anyone find the issue? |
Hi @gl3nda85 , Could you try to call Let me know if that helped |
Hi Edujugon, Any clue? Best, Laravel 5.2, PHP 7.0 |
Hi @danielz0 , In the next days I'll dig deeply into this issue. Would you share your certificate with me so I could do tests with that one as well? if so, send me a mail to edujugon@gmail.com In the meantime, have you tried to generate a new Certificate? most probably is Apple who is refusing the connection to its server.. |
Hi again, In details I have two servers with Laravel 5.2 and PHP7.0 After days of tracing the only thing I got is I have tried all tricks, from modules update to increasing memory limits - no luck so far. Not sure, but personally I think it might be something connected with system libraries. I am going to generate list of files your process is trying to open on both servers and compare. Any suggestions are welcome. Thanks! |
Maybe this will help you? Strace: This EINPROGRESS (Operation now in progress) lasts couple of minutes depend on how big is the memory limit and results in: |
Hi @Edujugon Best, |
Hi @danielz0 , Have you tested it in PHP 7.1.4 or 7.0.18 ? Does that work for you? It seems to have a work-around for PHP < 7.1.4 (and PHP < 7.0.18) but since it has a performance penalty it may be the reason of that issue. I have to test it in different PHP versions with a big data/payload to send. |
Hi @Edujugon, The payload which crashed in my case contains 1000tokens and one-two lines in the message body. Best, |
The new releases (3.x & 2.2.x) prevent of this error. |
Hello @Edujugon,
I getting Out Of Memory error sending push to iOS.
I tried with develop and production url of Apple, but is always same error.
PHP v5.6.30
edujugon/push-notification: v2.2.0
The text was updated successfully, but these errors were encountered: