In my first job, the developers were so bad at managing memory, and the users so accustomed to the developers giving them whatever they wanted, that we had to make all the devs write batch versions of everything they did.
That way if a user submitted a policy for processing and it was too big to run in a tomcat instance, rather than spending a day investigating how they managed to run themselves out of memory this time, we'd just tell them they had to send that job to batch. It'd go into queue and run on a whole ass IBM z machine.
In my first job, the developers were so bad at managing memory, and the users so accustomed to the developers giving them whatever they wanted, that we had to make all the devs write batch versions of everything they did.
That way if a user submitted a policy for processing and it was too big to run in a tomcat instance, rather than spending a day investigating how they managed to run themselves out of memory this time, we'd just tell them they had to send that job to batch. It'd go into queue and run on a whole ass IBM z machine.