[ 
https://issues.apache.org/jira/browse/CXF-5912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Abel Salgado Romero updated CXF-5912:
-------------------------------------

    Description: 
Hi,

When dealing with big files (10MB or more) in Base64 an OutOfMemory exception 
is created, even when the server has enough memory to load it.
We would like to know if another treatment is possible to avoid the full 
message from being loaded into memory during unmarshalling.

For instance when sending files in MTOM (900MB) no memory issue arise because 
they are streamed through disc.

So far we have seen that this error happends because the full message is sent 
to Stax parser without any pre-treatment.



  was:
Hi,

When dealing with big files (10MB or more) in Base64 an OutOfMemory exception 
is created, even when the server has enough memory to load it.
We would like to know if another treatment is possible to avoid the full 
message from being loaded into memory during unmarshalling.

For instance when sending files in MTOM (900MB) no memory issue arise because 
they are streamed through disc.




> Handling of big files in Base64
> -------------------------------
>
>                 Key: CXF-5912
>                 URL: https://issues.apache.org/jira/browse/CXF-5912
>             Project: CXF
>          Issue Type: Improvement
>          Components: WS-* Components
>    Affects Versions: 2.7.3
>         Environment: WebSphere 8.5
>            Reporter: Abel Salgado Romero
>         Attachments: error_log.txt
>
>
> Hi,
> When dealing with big files (10MB or more) in Base64 an OutOfMemory exception 
> is created, even when the server has enough memory to load it.
> We would like to know if another treatment is possible to avoid the full 
> message from being loaded into memory during unmarshalling.
> For instance when sending files in MTOM (900MB) no memory issue arise because 
> they are streamed through disc.
> So far we have seen that this error happends because the full message is sent 
> to Stax parser without any pre-treatment.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to