What is the typical number of java statements run by a servlet? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

What is the typical number of java statements run by a servlet?

mettlsamettlsa Posts: 1Member
I am writing some custom code to work with the product LongJump. It is a CRM. They have a Java api that let's you do some custom coding and you add/update/delete records thru their api that they wrote. It uses MVC architecture. Anyway, they have some governors built in. The maximum number of Java code statements that can be run during an execution interval is 10,000. The total size of all strings allocated in the Java heap space during an execution interval is 30,000.

Our code is not that big, but because of the amount of data we have a huge number of loops. For one save action from the front end I really end up creating around 300-400 new records in the database.

We are going over this limit and the system is throwing an error. I am trying to get an idea if the governors are reasonable or not. Any opinions?
Sign In or Register to comment.