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 2FE4C200C89 for ; Sat, 20 May 2017 03:13:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2E6F0160BD4; Sat, 20 May 2017 01:13:09 +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 73A81160BD1 for ; Sat, 20 May 2017 03:13:08 +0200 (CEST) Received: (qmail 4591 invoked by uid 500); 20 May 2017 01:13:02 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@flink.apache.org Received: (qmail 4581 invoked by uid 99); 20 May 2017 01:13:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 May 2017 01:13:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 1FF6B1A0391 for ; Sat, 20 May 2017 01:13:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.601 X-Spam-Level: X-Spam-Status: No, score=-3.601 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=icloud.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id i8e756ttKOU7 for ; Sat, 20 May 2017 01:13:00 +0000 (UTC) Received: from pv38p41im-ztdg02071201.me.com (pv38p41im-ztdg02071201.me.com [17.133.179.24]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 0C81F5F20C for ; Sat, 20 May 2017 01:13:00 +0000 (UTC) Received: from process-dkim-sign-daemon.pv38p41im-ztdg02071201.me.com by pv38p41im-ztdg02071201.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) id <0OQ800G008G8JV00@pv38p41im-ztdg02071201.me.com> for user@flink.apache.org; Sat, 20 May 2017 01:12:53 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=4d515a; t=1495242773; bh=W4Ua+ZdZYdyz14vP1e+6AJmPuiP1mNgkdp2/H0c2cVA=; h=From:Content-type:MIME-version:Subject:Message-id:Date:To; b=Omp/JibMc8h1IPEPed1fh6qa6V2B2p937DSnYa5ISEdyfgr90hkeC7ZTXMMFxVA5C xFsGvNwneLMhjXfvB6lK076rNCLRjNTQ82zUBeUH9vFMn1CczeXdbErEbD/qJbqhn+ 9Qy2a+6e7bBrmnt0BZ/3iHNUd5sKh3t75k+qibu+gSxd6EoKJXl4OXu98G5QtMPPnQ fs+L4V+obqylcIiRY36EyYmhabyDxQlLig15OkGKhKxAyXcmmvjPkkT+9OE893vLCS aOV6hVno/4q/3qa6HmnQI1jFnJO8VH9Gi4UoBQLRwMZMiKHNF8QpY/DPtU1VoKB6eH Kxkm5r5F8+Gyw== Received: from icloud.com ([127.0.0.1]) by pv38p41im-ztdg02071201.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) with ESMTPSA id <0OQ8004SP8PGSF40@pv38p41im-ztdg02071201.me.com> for user@flink.apache.org; Sat, 20 May 2017 01:12:52 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-05-19_16:,, signatures=0 X-Proofpoint-Spam-Details: rule=probablespam policy=default score=96 spamscore=96 clxscore=1034 suspectscore=5 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1701120000 definitions=main-1705200005 X-Suspected-Spam: true From: Fritz Budiyanto Content-type: text/plain; charset=utf-8 Content-transfer-encoding: quoted-printable MIME-version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Excessive stdout is causing java heap out of mem Message-id: Date: Fri, 19 May 2017 18:12:51 -0700 To: user@flink.apache.org X-Mailer: Apple Mail (2.3273) archived-at: Sat, 20 May 2017 01:13:09 -0000 Hi, I notice that when I enabled DataStreamSink=E2=80=99s print() for = debugging, (kinda excessive printing), its causing java Heap out of = memory. Possibly the Task Manager is buffering all stdout for the WebInterface? = I haven=E2=80=99t spent time debugging it, but I wonder if this is = expected where massive print will exhaust java heap, and I=E2=80=99m = using standalone mode. Is there a way to disable this memory logging for web interface, and = just redirect stdout to file instead with file rotation? What is the suggested method of logging ? =E2=80=94 Fritz=