Giter VIP home page Giter VIP logo

Comments (1)

sadjad avatar sadjad commented on July 22, 2024 1

Hi @wsmoses,

The Lambdas are limited to 500 MB of disk space, and this thunk doesn't fit on a Lambda. To run this job to completion, you have two options:

  1. You can set up an EC2 instance as the overflow machine. The jobs that don't fit on Lambda can be sent to that machine for execution. As there are usually no more than a few thunks that don't fit on Lambda in each job (final stages of the build), you can get away with a single-core box, like an m1.medium instance (9ยข/hr).

Setting up the overflow machine is straightforward: after you building and installing gg on the machine, run gg execute-server 0.0.0.0 <PORT>. Now, run gg force with a second engine:

gg force <TARGET> --jobs 1000 --engine lambda --jobs 1 --fallback-engine remote=<IP>:<PORT>
  1. You can run those thunks on your local machine. The only drawback is that now you have to download all the dependencies (all those objects listed in the thunk) back to your local machine, and depending on your network speed, this could hurt the performance.

To do this, run (make sure you have the latest version off the master branch):

gg force <TARGET> --jobs 1000 --engine lambda --jobs 1 --fallback-engine local=mixed

Thank you for trying out gg, and please let me know if there are any issues.

Best,
Sadjad

from gg.

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.