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

Newman tests run out of memory #3250

Open
gendium opened this issue Jul 12, 2024 · 2 comments
Open

Newman tests run out of memory #3250

gendium opened this issue Jul 12, 2024 · 2 comments

Comments

@gendium
Copy link

gendium commented Jul 12, 2024

  1. Newman Version 6.1.3
  2. OS details (type, version, and architecture): 249.11-0ubuntu3.11
  3. Are you using Newman as a library, or via the CLI? CLI
  4. Did you encounter this recently, or has this bug always been there: recently
  5. Expected behaviour: run through the tests
  6. Command / script used to run Newman: newman run collections/postman_collection.json -e environments/postman_environment.json -r htmlextra,directbooks --reporter-htmlextra-showOnlyFails
  7. Sample collection, and auxiliary files (minus the sensitive details):
  8. Screenshots (if applicable):
    image

I have ran the tests before without issue, but now one of my get requests sends back 88mb's of data. Max heap size is at 8192mb, and every single time the tests run into this request, i get the same failure shown in the screenshot. What can be done to deal with this error?

@morhimi
Copy link

morhimi commented Aug 5, 2024

We're encountering this issue as well :(
@gendium did you manage to resolve this issue?

@gendium
Copy link
Author

gendium commented Aug 5, 2024

The payload coming in was just too large. Cleared the db, and it was fine. Our system just was not stable regardless to have so much data. No actual fix

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

2 participants