From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.1 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 964CD1F461 for ; Sun, 12 May 2019 20:27:02 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id DE9D812092B; Mon, 13 May 2019 05:26:56 +0900 (JST) Received: from o1678916x28.outbound-mail.sendgrid.net (o1678916x28.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 9A24D1208FD for ; Mon, 13 May 2019 05:26:54 +0900 (JST) Received: by filter0069p3mdw1.sendgrid.net with SMTP id filter0069p3mdw1-3720-5CD8818D-D 2019-05-12 20:26:53.331403129 +0000 UTC m=+269128.186551413 Received: from herokuapp.com (unknown [3.93.66.119]) by ismtpd0036p1iad1.sendgrid.net (SG) with ESMTP id cZFpDAIhT8ew5zYu3aswcA for ; Sun, 12 May 2019 20:26:53.290 +0000 (UTC) Date: Sun, 12 May 2019 20:26:53 +0000 (UTC) From: alangano@gmail.com Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 68111 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15844 X-Redmine-Issue-Author: alangano X-Redmine-Sender: alangano X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: =?us-ascii?Q?sWoYXRuiPtvYS0AxN7eNGD=2FUwtDXM=2FoYLz=2F5Uo1WyXsuQP3ItHZNuBivmC=2F7S5?= =?us-ascii?Q?ussHjfolAgYWsh3PxXz0FLNS6Xa4tjyQITCCpmR?= =?us-ascii?Q?JKURD7bjUp9jpKHxu3F86W9P3Uciv5whJK5gSPW?= =?us-ascii?Q?JqWLGmrCFrXiNAL61LmWOaQJ56VuQHpfN=2FaoM7t?= =?us-ascii?Q?TqcHQkFi8ajMDVI1XuBJiGsEOsXtUCaUz3A=3D=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 92628 Subject: [ruby-core:92628] [Ruby trunk Bug#15844] VM has trouble releasing memory (?)` on NoMethodError X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" 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/