XML Feeds

.

[java-dev] Re: Re: memory running wild

jbmaxwell jbmaxwell at btinternet.com
Wed Jul 18 15:37:31 MDT 2007


Quote: owen wrote on Wed, 18 July 2007 21:19
----------------------------------------------------
> Do tell - I'd been about to start picking the original apart to see what 
> was going on.
> 
> jbmaxwell wrote:
> > ...okay, found a way around it by rewriting some code...
> > 
> > 
> > 
> > 
> 
> 
----------------------------------------------------

Oh, thanks! Well, I actually realized that with only a small redesign I could get rid of this class entirely, without losing any real functionality. The overall model is every-so-slightly less OOP, but not enough to miss. 

I messed around for several hours this morning trying to figure out how that other class could be eating so much memory, but I never figured it out. The new version I have basically pulls the functionality of the "Allusion" into the objects that the Allusion class was associating. I had to move the statistical data into these objects as well, but it's more convenient to have it there anyway, so no loss.

Anyway, what I thought was a clever design was just bloated, I guess! If you do look at it, purely out of theoretical interest, and see anything really obvious, let me know. But please don't waste any of your time.

cheers,

J.



More information about the java-dev mailing list