Java

Moderators: zibadian
Number of threads: 7818
Number of posts: 18218

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
What is the typical number of java statements run by a servlet? Posted by mettlsa on 7 Jun 2012 at 7:13 PM
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?



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.