Skip to content
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

Allowed memory size of xxxx bytes exhausted #34

Open
maulikpatelbtech opened this issue Mar 29, 2018 · 0 comments
Open

Allowed memory size of xxxx bytes exhausted #34

maulikpatelbtech opened this issue Mar 29, 2018 · 0 comments

Comments

@maulikpatelbtech
Copy link

[root@ip-xxxxx html]# nginx -v
nginx version: nginx/1.12.2
[root@ip-xxxxx html]# php --version
PHP 7.1.15 (cli) (built: Mar  1 2018 13:09:01) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.1.15, Copyright (c) 1999-2018, by Zend Technologies

I am using aws Linux ec2 with m5.large instance. I got the error "Allowed memory size of xxxx bytes exhausted ... ".
I already tried to ini_set('memory_limit','2048M'); even if i increase the limit it always gives me an error.

$s3 = Yii::$app->get('s3');
$s3->commands()->upload($upload_photo, $full)->withAcl('private')->execute();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant