Skip to content

Commit da7f9ba

Browse files
committed
Remove old memsize bug workaround.
1 parent 7efd329 commit da7f9ba

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/memory/sampler.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,6 @@ def track_allocations(generation)
290290
class_name = @cache.lookup_class_name(klass)
291291
value = (klass == String) ? @cache.lookup_string(object) : nil
292292

293-
# compensate for API bug
294-
memsize = rvalue_size if memsize > 100_000_000_000
295-
296293
allocation = Allocation.new(@cache, class_name, file, line, memsize, value, false)
297294

298295
@allocated << allocation

0 commit comments

Comments
 (0)