synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Veithen <andreas.veit...@gmail.com>
Subject Re: VFS - Synapse Memory Leak
Date Thu, 05 Mar 2009 07:21:28 GMT
I outlined the solution for this issue in [1]. It will take a few days
to get this implemented properly.

Andreas

[1] http://markmail.org/message/s7i5zewk5mudyxyl

On Thu, Mar 5, 2009 at 03:42, Asankha C. Perera <asankha@apache.org> wrote:
>
>> Exception in thread "vfs-Worker-4" java.lang.OutOfMemoryError: Java heap
>> space
>>        at
>>
>> java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:99)
>>        at
>> java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:518)
>>        at java.lang.StringBuffer.append(StringBuffer.java:307)
>>        at java.io.StringWriter.write(StringWriter.java:72)
>>        at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1129)
>>        at org.apache.commons.io.IOUtils.copy(IOUtils.java:1104)
>>        at org.apache.commons.io.IOUtils.copy(IOUtils.java:1078)
>>        at org.apache.commons.io.IOUtils.toString(IOUtils.java:382)
>>        at
>>
>> org.apache.synapse.format.PlainTextBuilder.processDocument(PlainTextBuilder.java:68)
>>
>
> Since the content type is text, the plain text formatter is trying to use a
> String to parse as I see.. which is a problem for large content..
>
> A definite bug we need to fix ..
>
> cheers
> asankha
>
> --
> Asankha C. Perera
> AdroitLogic, http://adroitlogic.org
>
> http://esbmagic.blogspot.com
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message