How long should it take for a form to open?

Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members.
The community moderator provided the following reason for archiving:
Old

It was taking 30-45 seconds to open a form. So we tried clearing the java cache, deleting temporary internet files, and finally uninstalling and reinstalling java. It's down to about 20 seconds per form. Is this normal or should it be faster?

Thanks for your post! 20 seconds per form is pretty close to normal load times. Load times can really vary based on the hardware in your computer and also by how much information the form has to load. For example, if you are trying to send an invoice for 10 purchase orders, it may take the form longer to load because it has to load all the data from each purchase order. The steps you have taken above are great steps to make the forms load faster. There are a couple other steps you can take. You could try reverting back to an older version of Java, (we've seen success with version 7, update 11) or you can also try adding a java memory string. I've outlined some steps below to add this string.

First you need to see how much processing power your computer has. To do this, click the "Start" button on your computer, then click right click on "Computer" or "My Computer and choose "Properties". This will bring you to some specifications on the hardware inside your computer. On this screen, you are looking for this information.

Take note of the amount of RAM you have. Once you have that, you can close the window.

Next you need to go to the Java program settings on your computer. To do this, click the "Start" button on your computer, then click "Control Panel". Here you want to double-click on the Java icon (you may need to click on "Programs" before the Java icon becomes available). This will open up the Java Control Panel and should look similar to the picture below.

1. Click on the Java tab.2. Click the View button under the Java Applet Runtime Settings 3. Under Java Runtime Parameters type –Xms###m –Xmx###m4. Replace the ##'s with the amount of Ram allotted for Java. The first set of numbers is the minimum amount of RAM allowed for Java and the second set is the maximum. The guideline is that you do not use more than half of the computers available RAM. For example if you had 8.00 GB of RAM you would set the range from –Xms3500m –Xmx4000m. To get those numbers, simply multiple the RAM you have by 1000 and then divide that by 2. This will get you the maximum number you can enter. I recommend not adding up to half right away and starting with a smaller string. This way you can judge the effect and decide if you want to add more to make it faster.5. Click OK6. Click Apply on the right side of the Java Control Panel 7. Click OK and close out of the Java Control Panel

It may be beneficial to close any open internet browser windows, so the Java settings can take effect. Once you do this, log back into WebForms and try loading a form. Please let me know if you have any additional questions or if I can clarify anything above. Have a great weekend!