Git Product home page Git Product logo

Comments (6)

alixaxel avatar alixaxel commented on September 13, 2024 1

Hi @danteata, altought the repository is new (and might change name[space]), I've been running these binaries in AWS Lambda successfully for quite some time, I just ran the example code in the README and the CloudWatch logs output a successful decompression of the binary:

chrome-aws-lambda Inflating 'chromium.br'.
chrome-aws-lambda Finished inflating 'chromium.br' into '/tmp/chromium'.

I also get the correct output from Lambda ("Example Domain").

As you can see on:

image=ami-8c1be5f6

I'm using the appropriate AMI image and the binary is also statically linked.

I assume you have transpiled your code to run Node 6.10 using Babel or similar?

from chrome-aws-lambda.

danteata avatar danteata commented on September 13, 2024

@alixaxel confirmed, my codebase is transpiled to run Node 6.10 via Babel. Could that be the reason? Thanks for the quick reply.

from chrome-aws-lambda.

alixaxel avatar alixaxel commented on September 13, 2024

It's unlikely as I'm doing the same.

Would you mind sharing some more details so we can get to the bottom of this issue? As I mentioned, the example code works just as expected, so I'm out of ideas with what I know.

from chrome-aws-lambda.

alixaxel avatar alixaxel commented on September 13, 2024

How much memory have you given to your Lambda?

from chrome-aws-lambda.

danteata avatar danteata commented on September 13, 2024

@alixaxel it strangely started working ok without any further updates to the deploy. I allocated ~1GB of memory.

from chrome-aws-lambda.

alixaxel avatar alixaxel commented on September 13, 2024

Closing as it seems to be resolved.

from chrome-aws-lambda.

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.