Giter Site home page Giter Site logo

Comments (5)

kaynz avatar kaynz commented on July 20, 2024

Is there any workaround for this problem in 0.4.7?

from grunt-exec.

gwicksted avatar gwicksted commented on July 20, 2024

Hi @kaynz , you probably don't want Infinity since this is a memory limit value for stderr/stdout coming from the child process and you probably don't want to soak up all the memory on your system if something goes awry. The default (front NodeJS) is a respectable 200KB - if this is not enough, you may be better off piping it elsewhere (a file). I'm going to be looking at these options in more detail soon -- do you have a specific use case I can verify against while testing?

from grunt-exec.

kaynz avatar kaynz commented on July 20, 2024

Hi,
thanks for your quick response. I'm using grunt-exec for cordova build process automation. Especially the ios build process (cordova build ios --device) runs into the maxBuffer of 200kb.

from grunt-exec.

gwicksted avatar gwicksted commented on July 20, 2024

You could try adding -ll error (log level) to the end of your cordova build command. If that doesn't do it, try increasing the maxBuffer of grunt exec to something like 500*1024. Are you using bash? If so you might be able to append this to the end: >| tee build.log which should overwrite build.log each time with the stdout from cordova as well as suppressing it from the child process stdout stream (untested).

from grunt-exec.

gwicksted avatar gwicksted commented on July 20, 2024

Large maxBuffer sizes have been tested, better error handling added.

from grunt-exec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.