Denis,

$result = pg_query($db, "SELECT * FROM big_table");

you are reading a big result (as I suspect from big_table) into memory. It is perfectly normal that this uses large amounts of memory.

[it would be rather suspicious if loading a big file / big resultset would not use big amounts of memory]

Harald


--
GHUM Harald Massa
persuasion python postgresql
Harald Armin Massa
Reinsburgstraße 202b
70197 Stuttgart
0173/9409607

Reply via email to