<br>I am getting following errormessage:<br><br>java.lang.OutOfMemoryError: cannot create any more threads.<br>Then Domino server running out of memory.<br><br>I have a standalone java application, running on AIX. What happens, when java program take connection to DominoR5, Java program creates documents and import doc. fields data etc. The way its reading it makes new notes session every time. Everything works fine until 200 documents has been run to DB, this errormessage appears.<br><br>More Details:<br>Program creates session and creates form to notes DB. After this it`s polling directory if there is a file, it creates session again and creates from it form to DB etc. Threads are used for only polling the directory (and there is only one). Threads are not used to create a session.<br><br>To polling a directory has been created different method as creating session (polling invites method which creates form to notes DB if needed). So, to use threads should not <br>effect at all to connection, which has been taken to notes.<br><br>I think in Domino Server Document something wrong in Diiop / Iiop settings. Anyone know more about these variations you might have. Admin book does not tell much about it. Also, I woule be please if someone can advice me to to "zero" threads, because this is why I am running out of memory.<br><br><br>