>Oops, sorry, that's not an ORMapMaker issue; it's all in Table.java.

True.  One more issue, though.  Anyone here using Resin?  They might 
be able to help me with this one.
Here's the problem.  Whenever I make a change to a web app in resin, 
it reloads everything, including the database.  One problem is that 
the threads never get cleaned up.  In addition, the Tables never seem 
to get finalized, even if I call System.gc() explicitly.  I was 
planning on having the finalizer call .stop() on the threads, but I 
can't get this to work.

After reloading my web app a bunch of times, I end up with hundreds 
of threads.  Eventually, my process limit is hit and everything dies.

I think I just discovered WHY the Table never gets cleaned up.  One 
of the cleanup threads blocks while it still has objects belonging to 
the Table still on the stack.  Therefore, there's always a reference 
to the Table, so it never gets gc'ed.

How much of this has been fixed in the new branch?



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to