diff --git a/locustfile.py b/locustfile.py index dd93990..9a15d5d 100644 --- a/locustfile.py +++ b/locustfile.py @@ -49,7 +49,11 @@ # associated DataFrame, resulting in excessive process RSS, # particulary with high process counts). import pyarrow -pyarrow.jemalloc_set_decay_ms(0) +try: + pyarrow.jemalloc_set_decay_ms(0) +except NotImplementedError: + # Raised if jemalloc is not supported by the pyarrow installation - skip + pass @events.init_command_line_parser.add_listener