Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2307B18807 for ; Sat, 4 Jul 2015 19:47:05 +0000 (UTC) Received: (qmail 23273 invoked by uid 500); 4 Jul 2015 19:47:04 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 23129 invoked by uid 500); 4 Jul 2015 19:47:04 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 23120 invoked by uid 99); 4 Jul 2015 19:47:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jul 2015 19:47:04 +0000 Date: Sat, 4 Jul 2015 19:47:04 +0000 (UTC) From: "Andreas Veithen (JIRA)" To: java-dev@axis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AXIS2-5616) OOM with AbstractJSONOMBuilder MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2-5616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14614028#comment-14614028 ] Andreas Veithen commented on AXIS2-5616: ---------------------------------------- I think so. BTW, I've added you as developer to the AXIS2 project in JIRA, so you should be able to mark the issue as resolved. > 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 > 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-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org