Is it possible to specify how much memory a job requires?

Thomas Arp October 14, 2016

Hi,

We have a lot of different jobs with a lot of maven tasks. Those tasks require different amounts of memory.

Say, for instance, that we have two agents, each with 4GB space. I need to run three tasks, that need, respectively, 1GB, 2GB and 3GB memory to avoid OutOfMemoryErrors when running.

Is there a way I could specify that my agents are capable of max 4GB worth of jobs, and the memory requirements of each task?

2 answers

1 vote
Mark de Bont
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 16, 2016

Each agent can only execute one task at a time, so there is no problem?

 

0 votes
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 18, 2016

Assuming that you're running these agents on the same host, it's not possible at the moment, sorry.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events