Return-Path: X-Original-To: apmail-jakarta-jmeter-user-archive@www.apache.org Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BF11C7844 for ; Wed, 28 Sep 2011 12:56:44 +0000 (UTC) Received: (qmail 21897 invoked by uid 500); 28 Sep 2011 12:56:44 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 21871 invoked by uid 500); 28 Sep 2011 12:56:44 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 21861 invoked by uid 99); 28 Sep 2011 12:56:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2011 12:56:44 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 209.85.220.172 as permitted sender) Received: from [209.85.220.172] (HELO mail-vx0-f172.google.com) (209.85.220.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2011 12:56:38 +0000 Received: by vcbfo11 with SMTP id fo11so6486334vcb.31 for ; Wed, 28 Sep 2011 05:56:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=wm+enpa+bqjNmA3K0RmM4K26DBCScyxJnIoWZXNhXw4=; b=WbG1kD6+EgOC/BY2fLx36lC/rdB/L5DaJi/hq7WtDlkUK+DCg5ZiMRQlvrnAH2sDQO v0MTUJ7SI11NDsnc/vVnW0aYhvmjkKICeShhCSCP/GEsaCQ3bvMKD4RxTzsjJrh4KaxE 8rjtU3AJIzm4acf4dO2n5WaTrTcDYaW8wWsMU= MIME-Version: 1.0 Received: by 10.220.213.132 with SMTP id gw4mr2667655vcb.52.1317214577268; Wed, 28 Sep 2011 05:56:17 -0700 (PDT) Received: by 10.220.155.147 with HTTP; Wed, 28 Sep 2011 05:56:17 -0700 (PDT) In-Reply-To: <1317214139942-4849000.post@n5.nabble.com> References: <1317214139942-4849000.post@n5.nabble.com> Date: Wed, 28 Sep 2011 13:56:17 +0100 Message-ID: Subject: Re: Distributed testing - Memory usage From: sebb To: JMeter Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On 28 September 2011 13:48, poox wrote: > Hi, I'm trying to run a fairly simple test plan in distributed mode and > experiencing some interesting memory consumption issues which I hope someone > can shed some light on.. > > The problem is regardless of how many threads I use, each of the slave > servers sees growing memory usage until they eventually run out of memory > and the jmeter-server process dies with this error: > java.lang.OutOfMemoryError: Java heap space > > I am very confused by this behaviour as my understanding of the slave mode > jmeter-server is that it should be passing all data back to the master and > the JVM GCs should be taking care of the memory, sadly this is not the case. > > Regardless of how many threads I use, with or without a constant timer etc.. > the memory usage of the java process on each of the slaves ramps up... > > Config: > 1 x Master Server - Linux, GUI mode (CentOS x64) > 3 x Slave Server - Linux (CentOS x64) > > Test plan: > - 10,000 loops @ 5 threads > - One thread group > - Constant Timer (500ms) > - 15 HTTP Requests (using HTTP client, non ssl.) Any functions or other test elements (post-processor etc)? > - One listener (Aggregate report) Aggregate Listener used to use a lot of memory; remove all Listeners from the test plan, and use -l on the client. > Any ideas? JMeter Version? > Things I've tried: > - Simple test plans. > - Upping heap size on master + slaves to 1024 > - Batch mode processing for results What do you mean by that? Have you tried running the script non-GUI on the server? > - Removing all listeners > > Tearing my hair out! > > -- > View this message in context: http://jmeter.512774.n5.nabble.com/Distributed-testing-Memory-usage-tp4849000p4849000.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org