Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 5134 invoked from network); 2 Feb 2008 16:02:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2008 16:02:38 -0000 Received: (qmail 86147 invoked by uid 500); 2 Feb 2008 16:02:29 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 86076 invoked by uid 500); 2 Feb 2008 16:02:29 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 86067 invoked by uid 99); 2 Feb 2008 16:02:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Feb 2008 08:02:29 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Feb 2008 16:02:09 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7DC5E714048 for ; Sat, 2 Feb 2008 08:02:16 -0800 (PST) Message-ID: <4864639.1201968136512.JavaMail.jira@brutus> Date: Sat, 2 Feb 2008 08:02:16 -0800 (PST) From: "Marcus Schulte (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (POOL-122) java.util.Timer in EvictionTimer does not recover from OutOfMemoryError in Evictor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org java.util.Timer in EvictionTimer does not recover from OutOfMemoryError in Evictor ---------------------------------------------------------------------------------- Key: POOL-122 URL: https://issues.apache.org/jira/browse/POOL-122 Project: Commons Pool Issue Type: Bug Affects Versions: 1.3 Environment: any Reporter: Marcus Schulte GenericKeyedObjectPool.Evictor.run() catches and ignores Exceptions, but not Errors, like OOME. Consequently, when, due to load-peeks an OOME is thrown in the evictor's timer-thread it dies miserably and no eviction will happen again in any of the pools loaded within the same class-loader (because the eviction timer is a static member). Also, the creation of evicting pools will fail with IllegalStateException. Possible fixes: 1. catch Throwable in GenericKeyedObjectPool.Evictor.run() 2. check and eventually re-instantiate the Eviction-Timer. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.