I have been reading this list and read yesterday's thread about the  
good and the bad of OL. One comment that raised some concern was  
client host resource utilization so I decided to do a little test.

I'm running OL 3.3.1 on a PowerBook G4. I launched Activity Monitor  
(which is similar to Task Manager), launched Firefox, and then logged  
into my Laszlomail account. After simply doing the login and leaving  
the computer idle, Activity Monitor was reporting Firefox to be using  
2.5% CPU and 58.71MB RAM. I left the computer idle (meaning I touched  
nothing on the computer) and after 25 minutes, the CPU usage of  
Firefox remained at about 2.5%, even though there were many spikes  
(for no apparent reason) all the way up to 15%. Additionally, after  
25 minutes, memory usage was at 62.93MB. Which means that one of the  
components (Firefox, Flash, or Laszlomail) kept increasing the memory  
usage. If I were to use Laszlomail as my client and I left it open  
the entire day, it would be using a lot of memory for no reason.

Then I developed a plain vanilla laszlo app which simply creates a  
window and displays a couple of text fields, text input fields, and a  
couple of buttons, as well as having the Debug window open. This app  
has a dataset that connects to a remote host, however, the request  
attribute is set to false. Again, after a fresh launch of Firefox and  
loading the app, memory usage for Firefox was at 46.95MB. After 5  
minutes of not touching anything on the computer, Firefox was showing  
memory usage of 48.50MB. Again, memory kept increasing for no reason.

Then I clicked on a button in the app which requested data from the  
dataset and populated 25 rows in a grid component and memory jumped  
to 49.50MB. After 10 minutes of not touching anything else on the  
computer, memory usage was at 51.49MB.

So, just out of curiousity, I launched Firefox and left it on a blank  
page. It was consuming 29.84MB. After 5 minutes of not touching  
anything on the computer, memory was still fixed at 29.83MB. This  
could rule out the possibility of Firefox leaking memory.

Then, I loaded Adobe's home page, where they have a simple Flash  
animation. At that point, memory usage was 46.86MB. After 10 minutes  
of not touching anything, memory usage was still at 46.86MB. However,  
during the 10 minutes, I noticed memory usage seldomly increased and  
then decreased back down to 46.86MB. The highest spike of memory  
usage during the 10 minutes was 47.21MB.

What does all this mean? Is there a memory leak in OL apps? Is there  
a memory leak in Flash's implementation for Firefox for Mac? Can  
anyone confirm any of this?

Thanks,
Daniel

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to