Return-Path: X-Original-To: apmail-jmeter-dev-archive@minotaur.apache.org Delivered-To: apmail-jmeter-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4374418450 for ; Fri, 1 Apr 2016 19:28:12 +0000 (UTC) Received: (qmail 30807 invoked by uid 500); 1 Apr 2016 19:28:12 -0000 Delivered-To: apmail-jmeter-dev-archive@jmeter.apache.org Received: (qmail 30777 invoked by uid 500); 1 Apr 2016 19:28:12 -0000 Mailing-List: contact dev-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jmeter.apache.org Delivered-To: mailing list dev@jmeter.apache.org Received: (qmail 30765 invoked by uid 99); 1 Apr 2016 19:28:11 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2016 19:28:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 6F280C0362 for ; Fri, 1 Apr 2016 19:28:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 93qrVj5XPLd0 for ; Fri, 1 Apr 2016 19:28:09 +0000 (UTC) Received: from mail-qg0-f42.google.com (mail-qg0-f42.google.com [209.85.192.42]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 1C92C5FACB for ; Fri, 1 Apr 2016 19:28:09 +0000 (UTC) Received: by mail-qg0-f42.google.com with SMTP id y89so104773402qge.2 for ; Fri, 01 Apr 2016 12:28:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=AsXcmRk6fX5RuA/X2nF5GhEVJB27gISbO7vR2+9PGk4=; b=dzA+A+sW6Kcj1fGUTGU+N/HYmZvDGvNRwWxtIg5AK8+6DPclC2YJclt5u4CdP90nH+ mVDq6vbqWEWfVoSZZVSD9aqlffA2aGA8q5iiWycDW9BNOdiajqR73kyhHRW2zMLNW6tE 5qDW3/P4zZ3d4JBRxIilWyaA1/3VA9ivEuCvCXmZkUUASqObMhHJkd/xXpXTG29ZC9EK vAlT9AwVi1UYUGv2F61v3YbXSJcnS+xPwvLQfF5NfHSxZBKAH2zT5E6UFifiTKROTvXF qHWfPbZJ8tzgTyx8Q2LL8XOvsP2RQklOzp/eudLVEhEm5OxcXscATocZ/OEOC/37mSOg 2a5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=AsXcmRk6fX5RuA/X2nF5GhEVJB27gISbO7vR2+9PGk4=; b=f/hNKGSEKP71+JXmUgnJXuasGTRj4MCU4iYSlG5MzTEJCFLr9IFW1pwsOiTIifg8Gg PqmMm1S0c7lAGK40HLzr1RNHr9Zl35SfCt9j0IZK/Qocw+9XOaFKg1ZlB/ZftXcCoZ3e yQA4wcS9Tbm3rkWfzxibfxnJX4c0LpLlmgpVO+CG1gO1ye7ML/dweQJtIxNoJvcQJ5l+ S6H79eQoHbEJiyZSE+kxBZ6ZtldF/3fyAhxszZLJL9BY5NhWTUgMSGB9pYVSA9nsJZlH pN8bU5wPOELlf4rxqFF7gdNgkfHmZWvWGVWPH3CrRz0svSe+juFOzXYZgVarH9Khkgxu if8A== X-Gm-Message-State: AD7BkJK9Kz7i5DLH3GFQw2N6EJtH+/mH3j4hbxp4Lc0lGsCs1GhPQDXM2wpeP7uVxgmWLAROvnEVpp3GT6n9sw== MIME-Version: 1.0 X-Received: by 10.140.32.100 with SMTP id g91mr26997595qgg.47.1459538888165; Fri, 01 Apr 2016 12:28:08 -0700 (PDT) Received: by 10.55.116.65 with HTTP; Fri, 1 Apr 2016 12:28:08 -0700 (PDT) In-Reply-To: References: Date: Fri, 1 Apr 2016 21:28:08 +0200 Message-ID: Subject: Re: GUI Mode : OOM Protection for View Results Tree or View Results in Table From: Philippe Mouawad To: "dev@jmeter.apache.org" Content-Type: multipart/alternative; boundary=001a113b3870f7119b052f716043 --001a113b3870f7119b052f716043 Content-Type: text/plain; charset=UTF-8 Hi, I attached to https://bz.apache.org/bugzilla/show_bug.cgi?id=59258 , 2 patches: - Option 1 :One yesterday that removes oldest Sample Results (I can also add the user warning) - Option 2 :One today following sebb's Idea that warns visually the user and does not anymore the Sample Results I really think we cannot keep the statu quo on this problem that a lot of people face. With this patch I believe we achieve 2 things: - We protect JMeter from doing an OOM - We inform the user of the Bad practice of Load Testing with GUI What's your opinion on the best patch ? Regards Philippe On Fri, Apr 1, 2016 at 9:00 AM, Philippe Mouawad wrote: > Hi Vladimir, > Tests are working for me, but failing on Jenkins and for you. > Runnning locally on JDK 1.8_u45 and JDK 1.7u79 > That's why I commited it like this. > > Regards > On Fri, Apr 1, 2016 at 12:12 AM, Vladimir Sitnikov < > sitnikov.vladimir@gmail.com> wrote: > >> Philippe, have you faced with the following issue? >> It seems to fail to locate /org/apache/jmeter/jmeter_as_ascii_art.txt >> somehow. >> >> >> bash-3.2$ git fetch && git reset --hard origin/trunk && ant >> download_jars && ant clean && ant >> >> bash-3.2$ ./jmeter -t SaveConfig.jmx -Dsaveconfig.sort=text >> java.lang.reflect.InvocationTargetException >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:497) >> at org.apache.jmeter.NewDriver.main(NewDriver.java:259) >> Caused by: java.lang.NullPointerException >> at java.io.Reader.(Reader.java:78) >> at java.io.InputStreamReader.(InputStreamReader.java:113) >> at org.apache.commons.io.IOUtils.copy(IOUtils.java:1906) >> at org.apache.commons.io.IOUtils.toString(IOUtils.java:778) >> at org.apache.commons.io.IOUtils.toString(IOUtils.java:759) >> at org.apache.jmeter.JMeter.start(JMeter.java:368) >> ... 5 more >> JMeter home directory was detected as: >> /Users/vladimirsitnikov/Documents/code/jmeter >> >> bash-3.2$ java -version >> java version "1.8.0_66" >> Java(TM) SE Runtime Environment (build 1.8.0_66-b17) >> Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode) >> >> OS X 10.11.2 >> >> Vladimir >> > > > > -- > Cordialement. > Philippe Mouawad. > > > -- Cordialement. Philippe Mouawad. --001a113b3870f7119b052f716043--