[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sandesha-dev
Subject:    [jira] [Created] (AXIS2-5616) OOM with AbstractJSONOMBuilder
From:       "Ben Jaing (JIRA)" <jira () apache ! org>
Date:       2013-11-15 1:20:17
Message-ID: JIRA.12679320.1384478339157.78123.1384478417361 () arcas
[Download RAW message or body]

Ben Jaing created AXIS2-5616:
--------------------------------

             Summary: 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


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.1#6144)

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic