I have a process that uses a library to take a step in time and memory, which sometimes takes up too much memory and gives out a failure when distributed on a large request. In this case, it is reasonable to accept the refusal and continue processing, so my decision is to reset my link to this tool and create a new one to continue processing at the next input.
Other people in my group dispute this strategy, stating that as soon as the memory becomes so rigid in the JVM that the distribution fails, the JVM is in a suspicious state: no real evidence, just FUD. On the other hand, I can only argue inductively that I have not yet seen the harmful effects (I have not yet seen black swans).
Q: Is it completely unsafe and verboten to continue working with a JVM that has reset a memory failure?
Chris source
share