On Fri, 28 Jan 2005, Tom Lane wrote:
> Oleg Bartunov <oleg@sai.msu.su> writes:
>> Memory growth stoped at 1.8Gb
>
>> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
>> 20458 postgres 15 0 1902m 503m 204m D 5.9 49.7 13:59.61 postmaster
>
> Index-related memory leak maybe? What are the indexes on this table,
> exactly?
nothing special :)
CREATE TABLE usno (
ra real,
dec real,
bmag real,
rmag real);
COPY usno FROM stdin with delimiter '|';
CREATE INDEX radec_idx1 ON usno (ra,dec) ;
ALTER TABLE usno ADD COLUMN ipix bigint;
UPDATE usno SET ipix = q3c_ang2pix(ra,dec);
CREATE INDEX ipix_ind ON usno (ipix);
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
Regards, Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83