Fwd: Memory leak
- To: mathgroup at smc.vnet.net
- Subject: [mg45155] Fwd: [mg45123] Memory leak
- From: christopherpurcell <christopherpurcell at mac.com>
- Date: Thu, 18 Dec 2003 06:55:32 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Maeder published a routine I believe called ClassifyIndexEquivalence in an article (or maybe on his website) titled "Partitioning Lists into Equivalence Classes" © 1998 by Roman E.Maeder. Sorry I don't have a more detailed set of directions than a title, but Google surely will find it. It will handle your 3000 point equivalence test in the blink of an eye with no "leaks". Chris Purcell Begin forwarded message: > From: Jagadeesh Balam <jagadeesh29 at hotmail.com> To: mathgroup at smc.vnet.net > Date: December 17, 2003 8:54:38 AM AST > To: mathgroup at smc.vnet.net > Subject: [mg45155] [mg45123] Memory leak > > Hello, > I am working on large data, where I have to assign around 3000 2-D > points to > around 20 code vectors(2-d) points based on nearest neighbor rule. > This is > the classic vector quantization problem. But the problem is in each > iteration there is a memory leak of around 30MB(very costly) and my > machine > freezes after a few iterations. I tried to use the 'clean slate' > package but > it takes eons to clean the memory. I am using the computational > geometry > package for this. Did anyone come across such a problem and tackle it > successfully? Thanks in advance for your suggestions. > > Jagadeesh > > _________________________________________________________________ > Check your PC for viruses with the FREE McAfee online computer scan. > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > Dr Christopher Purcell Sensors & Actuators Group DRDC-Atlantic, 9 Grove St., PO Box 1012, Dartmouth NS B2Y 3Z7 Canada Tel 902-426-3100 x389 Fax 902-426-9654