Skip to content

Commit e5d7d57

Browse files
committed
fixed exeption message
1 parent 740c656 commit e5d7d57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby-debug-ide/xml_printer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def inspect_with_allocation_control(slice, memory_limit)
395395
if(curr_alloc_size - start_alloc_size > 1e6 * memory_limit)
396396

397397
trace.disable
398-
curr_thread.raise MemoryLimitError, "Out of memory: evaluation took longer than 10mb." if curr_thread.alive?
398+
curr_thread.raise MemoryLimitError, "Out of memory: evaluation took longer than #{memory_limit}mb." if curr_thread.alive?
399399
end
400400
end
401401

0 commit comments

Comments
 (0)