Displaying 1 result from an estimated 1 matches for "121megs".
Did you mean:
11megs
2007 Nov 08
0
mysql-ruby gem using significantly more memory that mysql.rb ?
...about 5000 rows being returned (the actual number of
rows is much less but the joins increase the number).
When using ruby-mysql:
The memory usage jumps from ~75megs to 161megs after executing
result.all_hashes and does not go back down.
When using mysql.rb:
The memory usage jumps from ~75megs to 121megs after executing
result.all_hashes and does not go back down.
I have two major concerns....
1.) why doesn''t the process eventually release the memory that is used
up? I am destroying all references to the grid and calling GC.start to
be sure
2.) why does ruby-mysql use significantly more...