Bug 958387

Summary: Large memory allocation per request in drools-camel-server
Product: [Retired] JBoss BRMS Platform 6 Reporter: Toshiya Kobayashi <tkobayas>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED WONTFIX QA Contact: Radovan Synek <rsynek>
Severity: medium Docs Contact:
Priority: high    
Version: 5.x.xCC: brms-jira, etirelli, kverlaen, paradhya
Target Milestone: ER5   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 882155 Environment:
Last Closed: 2013-12-12 09:33:57 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:

Comment 5 Edson Tirelli 2013-09-06 12:47:01 UTC
Mario, can you please take a look at this one? Is this still happening in 6?

Comment 6 Mario Fusco 2013-10-02 08:50:49 UTC
As evidenced by Toshiya the biggest part of this memory occupation is caused by the conversion of InputStreams to Strings. Unfortunately I don't think this is avoidable. Moreover there are many ways to perform this conversion, but as for example reported here:

http://www.journaldev.com/706/how-to-convert-inputstream-to-string-in-java

we are apparently already using the most memory efficient one.

I can't find a way a to improve this issue but any other suggestion is welcome.

Comment 10 Radovan Synek 2013-12-12 09:33:57 UTC
closed as won't fix, see comment 6.