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

File size limit leads to memory error #45

Closed
chrisvidal opened this issue May 6, 2016 · 4 comments
Closed

File size limit leads to memory error #45

chrisvidal opened this issue May 6, 2016 · 4 comments

Comments

@chrisvidal
Copy link

Hi Adam,
i was adding a video folder with a video filesize of 65Mo
the gulp task seems to fails because of this filesize

here is the tracelog

`[10:34:05] Starting 'exec'...

Triggering Command...
jigsaw build
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 66534158 bytes) in /Users/chrisvidal/.composer/vendor/illuminate/filesystem/Filesystem.php on line 109
[10:34:05] 'exec' errored after 227 ms
[10:34:05] Error in plugin 'gulp-shell'
Message:
Command jigsaw build failed with exit code 255
[10:34:05] Error in plugin 'run-sequence'
Message:
An error occured in task 'exec'.
`

@nerdmedia
Copy link

Increase your max memory size in your php.ini

@adamwathan
Copy link
Contributor

^ That should help temporarily but gonna see if there's anything I can do
using streams to fix it too

On Thu, May 5, 2016 at 11:09 PM Nerdmedia Web Studios <
notifications@github.com> wrote:

Increase your max memory size in your php.ini


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#45 (comment)

@mrgodhani
Copy link

I recently had exact same problem I got

Allowed memory size of 134217728 bytes exhausted (tried to allocate 2595368 bytes) in /Users/meetgodhani/Desktop/WebProjects/<project>/vendor/illuminate/filesystem/Filesystem.php on line 38

Even increasing limit didn't quite helped

@damiani
Copy link
Contributor

damiani commented Jul 16, 2017

I just added a fix on dev-master that should help with copying large files. Could you test it out by changing your Jigsaw version in composer.json to dev-master, running composer update, and then trying your build again?

@damiani damiani closed this as completed Sep 29, 2017
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

4 participants