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

Hiranya Jayathilaka resolved AXIS2-5616.
----------------------------------------
       Resolution: Fixed
         Assignee: Hiranya Jayathilaka
    Fix Version/s: 1.7.0

Issue is already fixed. AbstractJSONDataSource performs the necessary check for 
end-of-stream detection.

> OOM with AbstractJSONOMBuilder
> ------------------------------
>
>                 Key: AXIS2-5616
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5616
>             Project: Axis2
>          Issue Type: Bug
>          Components: json
>    Affects Versions: 1.6.2
>            Reporter: Ben Jaing
>            Assignee: Hiranya Jayathilaka
>             Fix For: 1.7.0
>
>         Attachments: AXIS2-5616.patch
>
>
> At line 123 in AbstractJSONOMBuilder.java, it doesn't check if the Reader has 
> reached the end of the stream. The result is Out of memory in JVM.
> Fix: check if reader.read() returns -1, which means end of stream.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to