Memory issue for longer tests
See original GitHub issueWe are seeing an issue with artillery running out of memory for longer tests - memory gradually increases until it hits limit, then CPU spikes and the test crashes. I don’t know if there is a memory leak somewhere - we are running tests up to around 30 requests per second. Artillery is running in a docker container (with 1GB of memory allocated) on a t2.small in AWS.
Config has multiple phases:
phases:
- duration: 300
arrivalRate: 10
- duration: 300
arrivalRate: 12
- duration: 300
arrivalRate: 14
- duration: 300
arrivalRate: 16
- duration: 300
arrivalRate: 18
- duration: 300
arrivalRate: 20
- duration: 300
arrivalRate: 22
- duration: 300
arrivalRate: 24
- duration: 300
arrivalRate: 26
- duration: 300
arrivalRate: 28
- duration: 300
arrivalRate: 30
with each scenario just calling a single GET request
Issue Analytics
- State:
- Created 7 years ago
- Comments:23 (14 by maintainers)
Top Results From Across the Web
Extended Memory Testing - N-able
Extended memory testing stress tests the RAM for errors by writing patterns of ones and zeroes to unused parts of RAM. It reads...
Read more >Cramming may help for next-day exams. But for long-term ...
Cramming may help for next-day exams. But for long-term memory, spacing out study is what works. By Sanjay Sarma. and. Luke Yoquinto.
Read more >Free Memory Test (5 Mins) – Short Term and Long Term
In Cognitive Psychology, long term memory is classified as information stored and retrieved for longer than a few minutes. In this memory test, ......
Read more >Should You Take an Online Memory Loss Test? - HumanGood
If you're worried about memory loss, your doctor should be the first stop. A simple test may not tell you what you need...
Read more >[Self-Test] Do You Have a Working Memory Deficit? - ADDitude
If you have concerns about possible working memory problems, ... you like to receive your working memory symptom test results — plus more...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hassy you can see the YAML configuration for one of the problematic artillery scripts at https://github.com/orionhealth/apigee-edgemicro-testing/blob/master/templates/artillery/stream-test.yaml
I’m using Node 7.2.0 and artillery 1.5.0-17. Artillery fails with a memory allocation error. I’ve had to bump up the heap size for V8 to get some scripts to run without exploding using:
node --max_old_space_size=3072 `which artillery` run -e edgemicro stream-test.yaml
I’m pretty sure that covers answers to questions 1 through 4. The sizes of the response are obvious from the requests in the configuration.
https://gist.github.com/benlipp/7ca805a4f3dfe4e3bbe2b392332ef213
How would I do this? Running on Ubuntu 16.04
I’m not sure, I haven’t tried an earlier version. How would I do that?