wb
11-10-2004, 03:21 AM
I'm currently evaluating laszlo but have seem to have come accross an issue that i cant seem to resolve.
It seems that 'resources' are never freed which inturn causes the application to slow down untill you have no choice but to restart the laszlo application.
Is there any way to call some kind of garbage collection so that, for example, resources for 'closed' windows are freed and made available to the client system again?
To be honest i *really* like what laszlo can do but unless there is a way to resolve issues like this i can't see it being much use for 'real' web applications that are intended to be used as 'desktop application replacements'.
(Sorry if that sounds like ranting but i'm only trying to get my point accross)
I have created an example application and below is the results of my testing...
Laszlo 'browser' memory usage...
Firefox 1.0 (WinXP):
start new tab.. 31596K
click 'window' button #1: 43840K
click 'window' button #2: 55784K
close window #1: 55784K
close window #2: 55784K
click 'window' button #3: 67148K
click 'window' button #4: 78220K
close window #4: 78220K
close window #3: 78212K
close tab: 27172K
I.e. 6 (WinXP sp2)
start.. 29636K
click 'window' button #1: 40904K
click 'window' button #2: 52268K
close window #1: 52268K
close window #2: 52268K
click 'window' button #3: 63032K
click 'window' button #4: 73396K
close window #4: 73396K
close window #3: 73396K
It seems that 'resources' are never freed which inturn causes the application to slow down untill you have no choice but to restart the laszlo application.
Is there any way to call some kind of garbage collection so that, for example, resources for 'closed' windows are freed and made available to the client system again?
To be honest i *really* like what laszlo can do but unless there is a way to resolve issues like this i can't see it being much use for 'real' web applications that are intended to be used as 'desktop application replacements'.
(Sorry if that sounds like ranting but i'm only trying to get my point accross)
I have created an example application and below is the results of my testing...
Laszlo 'browser' memory usage...
Firefox 1.0 (WinXP):
start new tab.. 31596K
click 'window' button #1: 43840K
click 'window' button #2: 55784K
close window #1: 55784K
close window #2: 55784K
click 'window' button #3: 67148K
click 'window' button #4: 78220K
close window #4: 78220K
close window #3: 78212K
close tab: 27172K
I.e. 6 (WinXP sp2)
start.. 29636K
click 'window' button #1: 40904K
click 'window' button #2: 52268K
close window #1: 52268K
close window #2: 52268K
click 'window' button #3: 63032K
click 'window' button #4: 73396K
close window #4: 73396K
close window #3: 73396K