Scott,

There is not a specific type of application, it is more the use of leveraging 
DOM in combination with JavaScript.

I showed you a small teaser from an upcoming CMS, using a rich interface. That 
interface is build up with JavaScript. Each menu, treeview, and table consists 
out of OO JS, which provides sorting, drag n drop, on demand loading, single 
paged interface, etc, etc. Then we also have a layered presentation model, also 
entirely based on Javascript, with ui persistency layers, reusable scripting 
etc.

In general this interface is about 85% javascript and only 15% initial XHTML 
markup code. Even though a full refresh only leaks 50kb, an amount which is 
very normal regarding references to DOM. Will you notice this in terms of speed 
of the application, NO. 

Garbage collection is always a topic, whether you use Java, JavaScript, .NET, 
Actionscript; The way memory is released, if you have closed database 
connections, or methods of optimizing memory usage too prevent long and painful 
GC flushes. Managed languages never guarantee optimal use and release of 
memory. In theory they should, but in practice that is not reachable because 
there are too many complex parameters involved.

Micha Schopman
Project Manager

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380

-----------------------------------------------------------------------------------------------------------------------------------------------------
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de 
interactie met uw doelgroep. 
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer 
informatie zie www.modernmedia.nl 
-----------------------------------------------------------------------------------------------------------------------------------------------------

-----Original Message-----
From: Scott Barnes [mailto:[EMAIL PROTECTED] 
Sent: dinsdag 8 maart 2005 10:47
To: CF-Talk
Subject: Re: OT: Memory Leak in Browsers?

Micha,

I'm at a crossroads, in that I typically defensive code when in DHTML
(or any language which has auto-garbage collection enabled) - yet i'm
concerned its an un-needed amount of work... ie reminds me of writing
115 lines of code to print "hello world" - sure its Zen powerd to the
10th degree - yet seems like i over did the task.

I guess what i was asking is that what kind of application or if any
out there that are being used suffer from this leak issue? and is it
really an issue or like you stated with flash, happens but really not
many notice only us perfectionists ;)


On Tue, 8 Mar 2005 10:14:30 +0100, Micha Schopman
<[EMAIL PROTECTED]> wrote:
> Dave,
> 
> There is no massive leak if you clean up before you leave the room. Like any 
> other language, if you don't close connections, clean up what you have used 
> and start programming without keeping memory in mind you might end up with 
> problems.
> 
> And you know what? Flash MX also is sensitive for circular references. Use a 
> scope chain and memory is never released (Timoth�e Groleau wrote about it) 
> until you write code to clean those references. Does this make Flash MX 
> instantly unsuitable. Ofcourse not, just by the fact the amount of memory 
> loss isn't really a big deal. Like that 50kb loss per total refresh is going 
> to affect you're application instantly.
> 
> 
> Micha Schopman
> Project Manager
> 
> Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
> Tel 033-4535377, Fax 033-4535388
> KvK Amersfoort 39081679, Rabo 39.48.05.380
> 
> -----------------------------------------------------------------------------------------------------------------------------------------------------
> Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de 
> interactie met uw doelgroep.
> Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer 
> informatie zie www.modernmedia.nl
> -----------------------------------------------------------------------------------------------------------------------------------------------------
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197804
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to