agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] out of memory
Date: Wed, 12 Apr 2006 08:19:30 +0200
Message-ID: <443C9BF2.2070302@tada.se> (raw)
In-Reply-To: <443C994F.6060308@lewczuk.com>
References: <e1fn29$od1$1@sea.gmane.org>
<443B63F0.4050803@tada.se>
<443BC400.4030806@lewczuk.com>
<443BCC32.2090306@tada.se>
<443C994F.6060308@lewczuk.com>
Marek,
You definitely have a memory leak somewhere. The process consumes 2.5
Gigabytes when it seems to hang. From the looks of it, it doesn't
actually hang but it is very, very slow (consumes 0.6 %CPU). Your
main-thread may well hang at this point, the rest of the activity might
be a struggling garbage collector. Is there any chance that you have a
huge map or array building up somewhere?
>
> I did that - but it doesn't affect the behavior of my function.
>
OK, good to know.
>> or do you close them too explicitly?
> No... should I do it ?
Not normally no. As I said previously, I'm trying to eliminate possible
causes for the leak. The more I know about your code and your setup, the
better the prognoses that I find something. Ideally, I'd like to look at
your function. You still keep your configuration a secret. What system
are you using? PostgreSQL version, OS version, Java version?
- thomas
view thread (12+ messages) latest in thread
Message-ID: <443C9BF2.2070302@tada.se>
Permalink: ../443C9BF2.2070302@tada.se/
Also on: postgresql.org/message-id/443C9BF2.2070302@tada.se
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pljava-dev@postgresql.org
Subject: Re: [Pljava-dev] out of memory
In-Reply-To: <443C9BF2.2070302@tada.se>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox