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

JavaScript heap out of memory #31

Open
mpreiner opened this issue Dec 17, 2019 · 7 comments
Open

JavaScript heap out of memory #31

mpreiner opened this issue Dec 17, 2019 · 7 comments

Comments

@mpreiner
Copy link

I'm running into an out of memory problem in a larger C++ project (https://github.com/mpreiner/CVC4/runs/351674288). I checked the size of the lcov.info on my machine an it's 95M. The 2048M heap limit seems to be a limitation from node. Is there a way to increase the heap limit for the coveralls action so that it uses all the available memory of the runner?

@Shylock-Hg
Copy link

@Shylock-Hg
Copy link

I try to increase nodejs memory limit upto 20GB follow this https://support.circleci.com/hc/en-us/articles/360009208393-How-can-I-increase-the-max-memory-for-Node-
but still OOM, it's readlly crazy...

@alexjurkiewicz
Copy link

You can use this project to generate lcov and upload it. It works with a project of mine that hits OOM with this node app: https://github.com/eddyxu/cpp-coveralls

@Shylock-Hg
Copy link

Shylock-Hg commented Jan 16, 2020

You can use this project to generate lcov and upload it. It works with a project of mine that hits OOM with this node app: https://github.com/eddyxu/cpp-coveralls

Yes, but the github action now just expose the GITHUB_TOKEN to forked repo PR, the other secrets can't access. This is the main reason why I want to use coveralls action.

@alexjurkiewicz
Copy link

alexjurkiewicz commented Jan 16, 2020 via email

@Shylock-Hg
Copy link

If you add a custom secret, you can pass in the coveralls repo key (not GitHub token) as a secret env var.

On Thu, 16 Jan 2020, 5:29 pm Shylock Hg, @.***> wrote: You can use this project to generate lcov and upload it. It works with a project of mine that hits OOM with this node app: https://github.com/eddyxu/cpp-coveralls Yes, but the github action now just expose the GITHUB_TOKEN to forked repo PR, the other secrets can't access. This is the main reason why I want to to coveralls action. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#31?email_source=notifications&email_token=AAC4U5IAEGXXOHGKTMDOFDLQ575DRA5CNFSM4J4CC7R2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJC562I#issuecomment-575004521>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC4U5JRRYJLH6CDRWGIUNLQ575DRANCNFSM4J4CC7RQ .

I can't understand your reply, in github action CI we can't access the custom secrets from a forked repo PR. How to pass the coveralls repo key?

@sidverma32
Copy link

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