Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4A5D5200BC3 for ; Thu, 3 Nov 2016 22:34:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4913A160AE5; Thu, 3 Nov 2016 21:34:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 92F59160AFF for ; Thu, 3 Nov 2016 22:34:03 +0100 (CET) Received: (qmail 56770 invoked by uid 500); 3 Nov 2016 21:34:02 -0000 Mailing-List: contact dev-help@apex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.apache.org Delivered-To: mailing list dev@apex.apache.org Received: (qmail 56745 invoked by uid 99); 3 Nov 2016 21:34:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2016 21:34:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 474A5C7443 for ; Thu, 3 Nov 2016 21:34:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.218 X-Spam-Level: X-Spam-Status: No, score=-6.218 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id w8CEV_ZlPW_M for ; Thu, 3 Nov 2016 21:34:00 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id 096155F3BB for ; Thu, 3 Nov 2016 21:33:59 +0000 (UTC) Received: (qmail 55634 invoked by uid 99); 3 Nov 2016 21:33:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2016 21:33:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 83A3A2C1F56 for ; Thu, 3 Nov 2016 21:33:59 +0000 (UTC) Date: Thu, 3 Nov 2016 21:33:59 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@apex.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (APEXMALHAR-2320) FSWindowDataManager.toSlice() can cause lots of garbage collection MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Nov 2016 21:34:04 -0000 [ https://issues.apache.org/jira/browse/APEXMALHAR-2320?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D15634368#comment-15634368 ]=20 ASF GitHub Bot commented on APEXMALHAR-2320: -------------------------------------------- GitHub user brightchen reopened a pull request: https://github.com/apache/apex-malhar/pull/477 APEXMALHAR-2320 #resolve #comment use SerializationBuffer implement F= =E2=80=A6 =E2=80=A6SWindowDataManager.toSlice() You can merge this pull request into a Git repository by running: $ git pull https://github.com/brightchen/apex-malhar APEXMALHAR-2320 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/apex-malhar/pull/477.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #477 =20 ---- commit dfcd2d5678b62ac383173f4780e6604c6a0cfd62 Author: brightchen Date: 2016-10-31T23:50:07Z APEXMALHAR-2320 #resolve #comment use SerializationBuffer implement FSW= indowDataManager.toSlice() ---- > FSWindowDataManager.toSlice() can cause lots of garbage collection > ------------------------------------------------------------------ > > Key: APEXMALHAR-2320 > URL: https://issues.apache.org/jira/browse/APEXMALHAR-232= 0 > Project: Apache Apex Malhar > Issue Type: Improvement > Reporter: bright chen > Assignee: bright chen > > FSWindowDataManager.toSlice(Object) use ByteArrayOutputStream for seriali= zation and then call toByteArray() to get the byte array. Which can cause l= ots of garbage collection. -- This message was sent by Atlassian JIRA (v6.3.4#6332)