In our application we allow user to enter email ids comma separated. We take the email ids separate it and insert as records in a table.
When they enter email ids less than 10000, everything goes fine. If it goes beyond 10000 the whole application hangs, we are not able to login the application.
Technical Details
- Java Servlet and JSP running in Tomcat server.
- Database - Postgres
Note: The whole insert process is transaction based, that is if we face any problem in inserting a single email id and the insert fails the whole inserts roles back.