-
Type:
Improvement
-
Status: Open
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: 1.1.2, 1.1.3, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.4.2, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0
-
Fix Version/s: None
-
Component/s: CMA Impl
-
Labels:None
-
MoSCoW:Must do
com.rivetlogic.core.cma.exception.CmaRuntimeException: java.lang.OutOfMemoryError: Java heap space
at com.rivetlogic.core.cma.impl.ContentServiceImpl.writeContentFromStream(ContentServiceImpl.java:124)
at com.rivetlogic.hbsp.dewey.listeners.UploadListenerAction.processUpload(UploadListenerAction.java:153)
...
There is a way to overcome this issue by providing the file size to the content service and channeling it to the RestExecuterImpl.createFilePostMethod method, and using this InputStreamRequestEntity constructor instead: http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/methods/InputStreamRequestEntity.html#InputStreamRequestEntity(java.io.InputStream,%20long)
This issue affects all versions of CMA/RAAr and will probably require a new writeContentFromStream method to be added to CMA/RAAr.
- Trackbacks
-
Iphone Case
[#CMA-44] RestExecuterImpl.createFilePostMethod causes the buffering of the entire file InputStream to determine the size of the stream, hence causing an OutOfMemory: heap space exception - Rivet Logic Corporation JIRA
-
http://cashloans24.blog.co.uk
cash loans
-
coolest iphone 4 cases
[#CMA-44] RestExecuterImpl.createFilePostMethod causes the buffering of the entire file InputStream to determine the size of the stream, hence causing an OutOfMemory: heap space exception - Rivet Logic Corporation JIRA
-
http://luigiloans.co.uk
fast loans for people with bad credit
-
http://laploverinstantcashloans.co.uk
instant cash online loans
-
iphone 4s accessories
[#CMA-44] RestExecuterImpl.createFilePostMethod causes the buffering of the entire file InputStream to determine the size of the stream, hence causing an OutOfMemory: heap space exception - Rivet Logic Corporation JIRA
-
http://kinkynocreditcheckloans.co.uk
kinkynocreditcheckloans.co.uk
-
http://beforeten.kr/?mid=sm4_2&document_srl=1155
real personal finance loans
-
http://macgyverloans.co.uk
payday loan lenders
-
poker how to play
[#CMA-44] RestExecuterImpl.createFilePostMethod causes the buffering of the entire file InputStream to determine the size of the stream, hence causing an OutOfMemory: heap space exception - Rivet Logic Corporation JIRA
-
poker stars
[#CMA-44] RestExecuterImpl.createFilePostMethod causes the buffering of the entire file InputStream to determine the size of the stream, hence causing an OutOfMemory: heap space exception - Rivet Logic Corporation JIRA
-
http://quickloanskepurr.co.uk
quick loans
-
http://quickloansace.co.uk
http://quickloansace.co.uk
-
samsung galaxy s3 phone cases
[#CMA-44] RestExecuterImpl.createFilePostMethod causes the buffering of the entire file InputStream to determine the size of the stream, hence causing an OutOfMemory: heap space exception - Rivet Logic Corporation JIRA
-
titan poker code
[#CMA-44] RestExecuterImpl.createFilePostMethod causes the buffering of the entire file InputStream to determine the size of the stream, hence causing an OutOfMemory: heap space exception - Rivet Logic Corporation JIRA