Andrea Gariboldi wrote:
I'm working on the problem. I don't know if there is a simple solution, or if we should use two different IoProcessor (one for the read, one for the write).Hi Martin, Emmanuel found that there is a threading design problem within MINA:The IoProcessor that is handling the search request and putting the encoded results in the WriteQueue, is the same that should dequeue those results from the queue and send it. So once it has finished with the request processing it checks for things to write and write all the results in the queue, but if you have long searches you will most likely get an OOM exception, because of the growing queue.
I first have to write a very simple use case on MINA to see if it's a problem in MINA or if we are doing something wrong in the server.
Thanks Andrea ! -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org
