« Return to Thread: Memory leaks - what causes them?

Memory leaks - what causes them?

by Chris Barrett-2 :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

I have a leak that’s costing me about 3Mb/hr.

 

Fri 06/02/09 21:00:00  37.9 hours:   0.5 MB in  0.2 hours.  168.1 -> 168.6 at  3.02 MB/hour.  Total:  3.11 MB/hour

Fri 06/02/09 21:10:00  38.1 hours:   0.5 MB in  0.2 hours.  168.6 -> 169.1 at  3.05 MB/hour.  Total:  3.11 MB/hour

Fri 06/02/09 21:20:00  38.3 hours:   0.5 MB in  0.2 hours.  169.1 -> 169.6 at  3.02 MB/hour.  Total:  3.11 MB/hour

Fri 06/02/09 21:30:00  38.4 hours:   0.5 MB in  0.2 hours.  169.6 -> 170.1 at  3.02 MB/hour.  Total:  3.11 MB/hour

Fri 06/02/09 21:40:00  38.6 hours:   0.5 MB in  0.2 hours.  170.1 -> 170.6 at  3.07 MB/hour.  Total:  3.11 MB/hour

Fri 06/02/09 21:50:00  38.8 hours:   0.5 MB in  0.2 hours.  170.6 -> 171.1 at  3.02 MB/hour.  Total:  3.11 MB/hour

Fri 06/02/09 22:00:00  38.9 hours:   0.5 MB in  0.2 hours.  171.1 -> 171.6 at  3.02 MB/hour.  Total:  3.11 MB/hour

Fri 06/02/09 22:10:00  39.1 hours:   1.3 MB in  0.2 hours.  171.6 -> 172.9 at  7.68 MB/hour.  Total:  3.13 MB/hour

 

I have a couple of custom user code “modules” so I’m presuming that it’s in one (or more) of those.

 

What sorts of coding practices lead to memory leaks within MH?  Does, for example, the use of “my($var) = …” within a loop cause a leak?

 

 


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
________________________________________________________
To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365

 « Return to Thread: Memory leaks - what causes them?