Karate: excessive memory/process usage when running karate (maybe just windows?)

Created on 28 Jun 2020  路  8Comments  路  Source: intuit/karate

this is what I found on windows when launching karate:

20 java.exe processes
using >1 GB of memory.

on osx it might be the same but here I have full 32 GB available, on Windows its in a virtual machine but nothing else in my project requires this much memory - thus:

Are there a reason for this high number and memory usage - any way to reduce it by a setting ?

enhancement fixed

All 8 comments

note, this is even when running a single feature test., i.e. https://github.com/jbangdev/jbang/blob/master/itests/version.feature

This should require minimal resources and definitely not ~20 jvm processes to run :)

forgot to mention that these processes and memory usage eventually end up with errors about out of memory and if I run smaller ones karate ends being stuck (the latter might be related to the new command shell feature)

@maxandersen yeah I have no answers at the moment. do you think you can create a quickstart as per this guide: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue

then I can try it on a VM / EC2 instance when I get the chance. it also locks down how you trigger tests, that can be a factor

@maxandersen I made some changes, haven't tested on windows yet do try when you get a chance

marking as fixed based on feedback

0.9.6 released

the issue still goes on with the 0.9.6v

@gokhanakaraman kindly follow this process: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue and use 0.9.9.RC2

Was this page helpful?
0 / 5 - 0 ratings