Hi. I have a multi-user system in which one of the potential operations that a user can perform uses a large amount of memory (this operation is peformed by a service running on the
JBoss server). Hypothetically, if many users were to run this operation at once, the system could run out of memory. Is there a way for the JVM to "check" if it has enough memory to perform a specified operation and then wait until that amount of memory is available or do I need to develop a queueing system of some sort?
Thanks.
Jeff Storey