Issue #15844 has been reported by alangano (Alan Gano).
----------------------------------------
Bug #15844: VM has trouble releasing memory (?)` on NoMethodError
https://bugs.ruby-lang.org/issues/15844
* Author: alangano (Alan Gano)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
When the test case is run, the process goes haywire. I observe RSS bouncing around, and trending upwards. CPU on the process is at 100%.
The test case is a partial implementation of a binary tree which is also a doubly linked list. I chopped it down as far as I could.
The issue is triggered by a calling a non-existent method on the Tree object. The test case only has 100 nodes -- it should be instantaneous. I kill it after some 6+ minutes with RSS hitting upwards of 5GB.
I am working in 2.6.3. Duplicated in 2.5.3 and 2.4.3 (with some code modifications)
---Files--------------------------------
issue.rb (2.67 KB)
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>