Bug 887320
Summary: | Agent raise OutOfMemoryError when adding new Deployment child resource on AS7 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Thomas Segismont <tsegismo> | ||||
Component: | Agent | Assignee: | Thomas Segismont <tsegismo> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.5 | CC: | hrupp, snegrea | ||||
Target Milestone: | --- | ||||||
Target Release: | RHQ 4.6 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 887861 (view as bug list) | Environment: | |||||
Last Closed: | 2013-09-03 14:43:51 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 887861 | ||||||
Attachments: |
|
Description
Thomas Segismont
2012-12-14 16:49:26 UTC
Created attachment 663660 [details]
Stack trace
Notes: http://mirrors.jenkins-ci.org/war/latest/jenkins.war is 46mb Is this also a problem in jon311? It's also a jon311 issue. AS7 plugin uses HttpUrlConnection to talk with management API. HttpUrlConnection keeps data in memory until output stream is closed if content length is unknown. Setting transfer mechanism to chunks solves the problem. master - 52bdd6f master - 52bdd6f reverted Fix worked by chance at first because there was an already active connection to as7. But HttpUrlConnection does not support auth in streaming mode. Bug fixed (ASUploadConnection now uses commons httpclient) instead of HttpUrlConnection from JDK. master - 84b4cbc Reworked to upgrade to HttpClient 4 master - 21ec5e2 Reworked to increased delay in AS7 itests to discover all resources master - 3b18013 All unit and integration tests pass on my box and on Jenkins: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/RHQ/job/rhq-master/org.rhq$rhq-jboss-as-7-plugin/ Manual testing leads to expected results (see the steps listed in the original description of this bug) Bulk closing of issues in old RHQ releases that are in production for a while now. Please open a new issue when running into an issue. |