PHP pallant / laravel-aws-cognito-auth - 内存不足

时间:2018-03-21 17:52:52

标签: php laravel-5 amazon-cognito

即使我使用php内存限制为-1(无限制),我也会收到以下错误 (1/1)

FatalErrorException Out of memory (allocated 509607936) (tried to allocate 501223424 bytes)in HomeController.php (line 36)

 <?php
 try { 
    Auth::attempt([ 'email' => 'pppppp@live.com', 
                    'password' => 'pppppp'
                  ]
                  false,
                  AWS_COGNITO_AUTH_THROW_EXCEPTION); 
} catch (\Pallant\LaravelAwsCognitoAuth\AuthAttemptException $e) { 
    $response = $e->getResponse(); var_export($response); 
    /* Handle error... */
}

有什么建议吗?

提前致谢。

0 个答案:

没有答案