You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by hi...@jakarta.apache.org on 2004/06/21 22:37:27 UTC
[jira] Created: (HIVEMIND-8) "OutOfMemoryException" after multiple application reloads
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/HIVEMIND-8
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HIVEMIND-8
Summary: "OutOfMemoryException" after multiple application reloads
Type: Bug
Status: Unassigned
Priority: Major
Project: HiveMind
Components:
framework
Versions:
1.0
Assignee:
Reporter: Jamis Buck
Created: Mon, 21 Jun 2004 1:36 PM
Updated: Mon, 21 Jun 2004 1:36 PM
Environment: Tomcat 4.x and 5.x. JDK 1.4.1. Gentoo Linux, 2.6.5 kernel. Hivemind 1.0-beta-1.
Description:
I have a Tapestry application that uses the HiveMindFilter servlet filter to initialize and teardown the registry. After reloading the application a few times, I get an "OutOfMemoryException" from Tomcat, and only a hard restart of Tomcat can fix it.
A coworker tracked the problem down and gave me a patch (for org.apache.hivemind.util.EventListenerList, in copyOnWrite(int)), which I will attach to this issue if I can (I'm not too familiar with this issue tracker).
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org
[jira] Updated: (HIVEMIND-8) "OutOfMemoryException" after multiple application reloads
Posted by hi...@jakarta.apache.org.
The following issue has been updated:
Updater: Jamis Buck (mailto:jgb3@email.byu.edu)
Date: Mon, 21 Jun 2004 1:52 PM
Comment:
Patch for org.apache.hivemind.util.EventListenerList to correct the OutOfMemory exception.
Changes:
Attachment changed to EventListenerList.patch
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/HIVEMIND-8?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/HIVEMIND-8
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HIVEMIND-8
Summary: "OutOfMemoryException" after multiple application reloads
Type: Bug
Status: Unassigned
Priority: Major
Project: HiveMind
Components:
framework
Versions:
1.0
Assignee:
Reporter: Jamis Buck
Created: Mon, 21 Jun 2004 1:36 PM
Updated: Mon, 21 Jun 2004 1:52 PM
Environment: Tomcat 4.x and 5.x. JDK 1.4.1. Gentoo Linux, 2.6.5 kernel. Hivemind 1.0-beta-1.
Description:
I have a Tapestry application that uses the HiveMindFilter servlet filter to initialize and teardown the registry. After reloading the application a few times, I get an "OutOfMemoryException" from Tomcat, and only a hard restart of Tomcat can fix it.
A coworker tracked the problem down and gave me a patch (for org.apache.hivemind.util.EventListenerList, in copyOnWrite(int)), which I will attach to this issue if I can (I'm not too familiar with this issue tracker).
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org
[jira] Resolved: (HIVEMIND-8) "OutOfMemoryException" after multiple application reloads
Posted by hi...@jakarta.apache.org.
Message:
The following issue has been resolved as CANNOT REPRODUCE.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/HIVEMIND-8
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HIVEMIND-8
Summary: "OutOfMemoryException" after multiple application reloads
Type: Bug
Status: Resolved
Priority: Major
Resolution: CANNOT REPRODUCE
Project: HiveMind
Components:
framework
Versions:
1.0
Assignee: Howard M. Lewis Ship
Reporter: Jamis Buck
Created: Mon, 21 Jun 2004 1:36 PM
Updated: Mon, 21 Jun 2004 3:17 PM
Environment: Tomcat 4.x and 5.x. JDK 1.4.1. Gentoo Linux, 2.6.5 kernel. Hivemind 1.0-beta-1.
Description:
I have a Tapestry application that uses the HiveMindFilter servlet filter to initialize and teardown the registry. After reloading the application a few times, I get an "OutOfMemoryException" from Tomcat, and only a hard restart of Tomcat can fix it.
A coworker tracked the problem down and gave me a patch (for org.apache.hivemind.util.EventListenerList, in copyOnWrite(int)), which I will attach to this issue if I can (I'm not too familiar with this issue tracker).
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org
[jira] Commented: (HIVEMIND-8) "OutOfMemoryException" after multiple application reloads
Posted by hi...@jakarta.apache.org.
The following comment has been added to this issue:
Author: Jamis Buck
Created: Mon, 21 Jun 2004 1:55 PM
Body:
Sorry, didn't see that you had already responded when I posted the patch. Also didn't realize this patch had already been submitted.
I have absolutely verified the version I am running, and it is hivemind-1.0-beta-1. However, there is a chance that the error is occuring due to something else. I'll see what I can find.
Sorry for the noise.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/HIVEMIND-8?page=comments#action_36273
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/HIVEMIND-8
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HIVEMIND-8
Summary: "OutOfMemoryException" after multiple application reloads
Type: Bug
Status: Unassigned
Priority: Major
Project: HiveMind
Components:
framework
Versions:
1.0
Assignee:
Reporter: Jamis Buck
Created: Mon, 21 Jun 2004 1:36 PM
Updated: Mon, 21 Jun 2004 1:55 PM
Environment: Tomcat 4.x and 5.x. JDK 1.4.1. Gentoo Linux, 2.6.5 kernel. Hivemind 1.0-beta-1.
Description:
I have a Tapestry application that uses the HiveMindFilter servlet filter to initialize and teardown the registry. After reloading the application a few times, I get an "OutOfMemoryException" from Tomcat, and only a hard restart of Tomcat can fix it.
A coworker tracked the problem down and gave me a patch (for org.apache.hivemind.util.EventListenerList, in copyOnWrite(int)), which I will attach to this issue if I can (I'm not too familiar with this issue tracker).
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org
[jira] Commented: (HIVEMIND-8) "OutOfMemoryException" after multiple application reloads
Posted by hi...@jakarta.apache.org.
The following comment has been added to this issue:
Author: Jamis Buck
Created: Mon, 21 Jun 2004 3:09 PM
Body:
Well, to my embarrassment, I can't seem to duplicate the problem now. My apologies for the noise.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/HIVEMIND-8?page=comments#action_36276
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/HIVEMIND-8
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HIVEMIND-8
Summary: "OutOfMemoryException" after multiple application reloads
Type: Bug
Status: Open
Priority: Major
Project: HiveMind
Components:
framework
Versions:
1.0
Assignee: Howard M. Lewis Ship
Reporter: Jamis Buck
Created: Mon, 21 Jun 2004 1:36 PM
Updated: Mon, 21 Jun 2004 3:09 PM
Environment: Tomcat 4.x and 5.x. JDK 1.4.1. Gentoo Linux, 2.6.5 kernel. Hivemind 1.0-beta-1.
Description:
I have a Tapestry application that uses the HiveMindFilter servlet filter to initialize and teardown the registry. After reloading the application a few times, I get an "OutOfMemoryException" from Tomcat, and only a hard restart of Tomcat can fix it.
A coworker tracked the problem down and gave me a patch (for org.apache.hivemind.util.EventListenerList, in copyOnWrite(int)), which I will attach to this issue if I can (I'm not too familiar with this issue tracker).
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org
[jira] Commented: (HIVEMIND-8) "OutOfMemoryException" after multiple application reloads
Posted by hi...@jakarta.apache.org.
The following comment has been added to this issue:
Author: Howard M. Lewis Ship
Created: Mon, 21 Jun 2004 2:54 PM
Body:
Just to be safe, I increased the size of the loop that adds listeners:
public void testOutOfMemoryError()
{
Trigger ta = buildTriggers(1)[0];
EventListenerList l = new EventListenerList();
List iterators = new ArrayList();
try
{
for (int i = 0; i < 500000; i++)
{
l.addListener(ta);
iterators.add(l.getListeners());
l.removeListener(ta);
}
}
catch (OutOfMemoryError e)
{
fail("Ran out of memory!");
}
catch (Throwable e)
{
fail(e.getMessage());
}
}
That's a lot of listeners and it works. If there was still an out-of-control doubling of size of the list (as in the original code) we'd run out of memory very quickly.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/HIVEMIND-8?page=comments#action_36274
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/HIVEMIND-8
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HIVEMIND-8
Summary: "OutOfMemoryException" after multiple application reloads
Type: Bug
Status: Open
Priority: Major
Project: HiveMind
Components:
framework
Versions:
1.0
Assignee: Howard M. Lewis Ship
Reporter: Jamis Buck
Created: Mon, 21 Jun 2004 1:36 PM
Updated: Mon, 21 Jun 2004 2:54 PM
Environment: Tomcat 4.x and 5.x. JDK 1.4.1. Gentoo Linux, 2.6.5 kernel. Hivemind 1.0-beta-1.
Description:
I have a Tapestry application that uses the HiveMindFilter servlet filter to initialize and teardown the registry. After reloading the application a few times, I get an "OutOfMemoryException" from Tomcat, and only a hard restart of Tomcat can fix it.
A coworker tracked the problem down and gave me a patch (for org.apache.hivemind.util.EventListenerList, in copyOnWrite(int)), which I will attach to this issue if I can (I'm not too familiar with this issue tracker).
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org
[jira] Assigned: (HIVEMIND-8) "OutOfMemoryException" after multiple application reloads
Posted by hi...@jakarta.apache.org.
Message:
The following issue has been re-assigned.
Assignee: Howard M. Lewis Ship (mailto:hlship@apache.org)
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/HIVEMIND-8
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HIVEMIND-8
Summary: "OutOfMemoryException" after multiple application reloads
Type: Bug
Status: Open
Priority: Major
Project: HiveMind
Components:
framework
Versions:
1.0
Assignee: Howard M. Lewis Ship
Reporter: Jamis Buck
Created: Mon, 21 Jun 2004 1:36 PM
Updated: Mon, 21 Jun 2004 2:50 PM
Environment: Tomcat 4.x and 5.x. JDK 1.4.1. Gentoo Linux, 2.6.5 kernel. Hivemind 1.0-beta-1.
Description:
I have a Tapestry application that uses the HiveMindFilter servlet filter to initialize and teardown the registry. After reloading the application a few times, I get an "OutOfMemoryException" from Tomcat, and only a hard restart of Tomcat can fix it.
A coworker tracked the problem down and gave me a patch (for org.apache.hivemind.util.EventListenerList, in copyOnWrite(int)), which I will attach to this issue if I can (I'm not too familiar with this issue tracker).
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org