chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hulley (Created) (JIRA)" <>
Subject [jira] [Created] (CMIS-472) Document create reads content into memory
Date Fri, 18 Nov 2011 12:28:51 GMT
Document create reads content into memory

                 Key: CMIS-472
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-server
    Affects Versions: OpenCMIS 0.5.0
            Reporter: Derek Hulley
            Priority: Critical
             Fix For: OpenCMIS 0.6.0

Steps to reproduce:
1. Connect to Alfresco through CMIS Workbench 0.5.0;
2. Click Create document;
3. Select Document (cmis:document) as type;
4. Attach file larger than VM memory size (alfresco installer was user as content stream ~500MB);
5. Click create document;

Actual result:
Error occurs

Caused by: java.lang.OutOfMemoryError: Java heap space
	at org.apache.chemistry.opencmis.server.impl.atompub.AtomEntryParser$LightByteArrayOutputStream.expand(
	at org.apache.chemistry.opencmis.server.impl.atompub.AtomEntryParser$LightByteArrayOutputStream.write(
	at org.apache.chemistry.opencmis.commons.impl.Base64$OutputStream.write(
	at org.apache.chemistry.opencmis.commons.impl.Base64$OutputStream.write(
	at org.apache.chemistry.opencmis.server.impl.atompub.AtomEntryParser.readBase64(
	at org.apache.chemistry.opencmis.server.impl.atompub.AtomEntryParser.parseCmisContent(
	at org.apache.chemistry.opencmis.server.impl.atompub.AtomEntryParser.parseEntry(
	at org.apache.chemistry.opencmis.server.impl.atompub.AtomEntryParser.parse(
	at org.apache.chemistry.opencmis.server.impl.atompub.ObjectService.create(


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message