From: filip.hrbek at plz.comstar.cz (Filip Hrbek) Date: Thu, 26 May 2005 10:21:43 +0200 Subject: [Pljava-dev] optimizing java References: <42957C9E.2030406@mailblocks.com> Message-ID: <003301c561cb$ff68a2b0$1e03a8c0@fhrbek> Hello, Thomas, I promised making some reports of memory consumption, which seems strange to me in some cases... I am sorry but I have too much commercial work now, we are starting a new project and the project with pl/java has been delayed a little. But I am sure I will do it (hope soon). I do think that the startup time is really irrelevant if one makes a good connection pool. Once it starts, the performance is very good. Regards Filip ----- Original Message ----- From: "Thomas Hallgren" To: "Marek Lewczuk" Cc: Sent: Thursday, May 26, 2005 9:37 AM Subject: Re: [Pljava-dev] optimizing java > Marek Lewczuk wrote: > > > Is there any way to improve java VM startup overhead ? Now I use JDK > > 1.5 and first execution of the pljava takes about 2-3 seconds. I have > > heard that other (not from SUN) VM are much faster, is it true ? > > I'm sure there is. But a general rule of thumb is that the faster the > startup, the slower the VM. The time the VM consumes at startup is often > well spent. > > The absolute best approach is to minimize the number of startups (and > the number of VM's). Make heavy use of a connection pool. > > Regards, > Thomas Hallgren > > > _______________________________________________ > Pljava-dev mailing list > Pljava-dev at gborg.postgresql.org > http://gborg.postgresql.org/mailman/listinfo/pljava-dev