From: thomas at tada.se (Thomas Hallgren) Date: Wed, 19 Apr 2006 09:57:57 +0200 Subject: [Pljava-dev] out of memory In-Reply-To: <4445E306.9010400@lewczuk.com> References: <443B63F0.4050803@tada.se> <443BC400.4030806@lewczuk.com> <443BCC32.2090306@tada.se> <443C994F.6060308@lewczuk.com> <443C9BF2.2070302@tada.se> <4445E1BE.8060002@lewczuk.com> <4445E306.9010400@lewczuk.com> Message-ID: <4445ED85.8070906@tada.se> Hi Marek, I'll look into this. One last question before I do. In the code that you sent, do you ever get an exception? I.e. is there any chance that it might miss the close of the Statement and ResultSet? Regards, Thomas Hallgren Marek Lewczuk wrote: > Marek Lewczuk napisa?(a): >> Thomas Hallgren napisa?(a): >> There are no maps at all, but I find the part of the code which (when >> enabled) leads to memory leak. > One more thing to add... there are 3 hashtables but they are quite > small (each contains about 100 elements). The source code which I have > send in my previous mail will be executed about 120 000 times. > > ML > >