Displaying 1 result from an estimated 1 matches for "prdjnj".
Did you mean:
prajna
2010 May 18
0
Active record is not releaed used memory
I have tried small ruby program like
require ''rubygems''
require ''postgres''
db = PGconn.connect(''localhost'', 5432, '''', '''', ''prdjnj'',''postgres'',
''postgres'')
res=db.exec("select * from users limit 300000")
res.clear
puts "After clear result object"
a=1
while a!=2
end
Before running this program,Initial free memory is 640MB
The query("select * from users limit...