Hi Gireesh,

For some reason I did not see your reply to me.

Raju's advice is one approach.  It may be that you are using a feature that is 
slow in DHTML and we need to improve it.  If profiling shows that is a problem, 
please report it as a bug.

My advice pertains to using the OL Server as a deployment server.  Your machine 
configuration is at the low end of what the typical developer uses.  It seems 
possible to me that your server is being slowed down by running the OL Server 
(and Tomcat) and at the same time running your XAMPP services.  You could look 
at your process monitor to see what the VM requirements of each of these is.  
If the total VM exceeds your actual RAM, you will get poor performance because 
of paging (which is typically very slow on low-end machines).  By running the 
OL app as a SOLO app, you eliminate the need to run the OL Server and Tomcat, 
and your server can focus on just running your data back-end.

Why would there be a difference between Flash and DHTML?  Each of the target 
runtimes (swf8, swf10, DHTML) uses a different back-end in the server, and they 
may generate different memory patterns which may affect the server performance. 
 Especially when competing with other servers on the same hardware.

On 2010-09-14, at 09:07, Raju Bitter wrote:

> You should probably profile your application to find out what part of
> your applications or OpenLaszlo are causing the slowdown for the DHTML
> runtime.
> 
> On Tue, Sep 14, 2010 at 12:58 PM, Gireesh Subramaniam
> <[email protected]> wrote:
>> PTW,
>> My application is not very large hence thought Proxied deployment might have
>> better performance.
>> But ,now that you say that might not be the case,shouldnt I encounter
>> similar issues on Flash run-time Proxied deployment.Relatively,I can say
>> that flash is faster.So was wondering ,if flash SOLO is the only recommended
>> runtime deployment for OL applications ?
>> My application is a typical Database driven software module,which formats
>> ,calculates and presents data to and from the data back end ,MySql server
>> through PHP code and OL code forms the Front end
>> Thanks,
>> Gireesh
>> 
>> On Mon, Sep 13, 2010 at 10:44 PM, P T Withington <[email protected]> wrote:
>>> 
>>> In general, the OL server is meant only as a development/prototyping
>>> platform.  It is not meant for deployment.  For deployment situations, you
>>> will want to compile your application to a SOLO application and have it talk
>>> directly to your data back-end.
>>> 
>>> On 2010-09-11, at 12:12, Gireesh Subramaniam wrote:
>>> 
>>>> Hi,
>>>> 
>>>> I am trying to deploy my Openlaszlo application as DHTML in the form of
>>>> a
>>>> .war on a windows machine.I encountered the Out of Memory Error,on
>>>> searching
>>>> relevant information,found that the JVM memory was 65 MB and was the
>>>> cause
>>>> 
>>>> Now I changed the configuration of setenv.bat in the tomcat/bin/ folder
>>>> 
>>>> and included JAVA_OPTS= -Xmx256m -Xms512m
>>>> 
>>>> and with this ,DHTML OL application starts fine.But i see serious
>>>> performance issues that were not seen in Flash version of same OL
>>>> application,The data retrieval is very slow on the Front End Interface
>>>> and
>>>> seems that the interface from Backend(in my case PHP/MySQL) to OL is
>>>> fine,but memory related issues are there,
>>>> 
>>>> I am looking for comments on what are optimal memory related settings
>>>> for
>>>> DHTML deployed as a .war file on a windows machine.
>>>> 
>>>> My Server Specifications are :
>>>> 2GB RAM/Windows XP SP2/I have XAMPP installed for controlling and
>>>> managing
>>>> Tomcat,Apache,MySql.
>>>> 
>>>> I tried to search on forums but was not able to find answers.
>>>> 
>>>> Thanks,
>>>> Gireesh
>>> 
>> 
>> 
> 


Reply via email to