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 4AE6444AA for ; Wed, 29 Jun 2011 21:05:42 +0000 (UTC) Received: (qmail 75238 invoked by uid 500); 29 Jun 2011 21:05:41 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 75198 invoked by uid 500); 29 Jun 2011 21:05:40 -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 75189 invoked by uid 99); 29 Jun 2011 21:05:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2011 21:05:40 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shettyd@gmail.com designates 209.85.161.172 as permitted sender) Received: from [209.85.161.172] (HELO mail-gx0-f172.google.com) (209.85.161.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2011 21:05:34 +0000 Received: by gxk19 with SMTP id 19so801663gxk.31 for ; Wed, 29 Jun 2011 14:05:14 -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=qqx/QEPa5f17/bM1OiEdHU3Sknk9cCw8zIONDJ0/jIM=; b=JwTy6cNZGuKTcfvkXhOOXMIN+GJBabXS7EIjXZQdnENfMYUQQgKPL5k7TCUI3Ix/VH iIo2/EgBLIpbcmo5rgsOkSVWKO9S/x3VgRrXpnRHuXfwvrEFcCKINEPKkzW/FCtYAn1s quwHi4+lYYxWW2UAvII187NtgD8fCWpOaqHqw= MIME-Version: 1.0 Received: by 10.150.253.15 with SMTP id a15mr1251705ybi.160.1309381513948; Wed, 29 Jun 2011 14:05:13 -0700 (PDT) Received: by 10.150.198.3 with HTTP; Wed, 29 Jun 2011 14:05:13 -0700 (PDT) In-Reply-To: References: Date: Wed, 29 Jun 2011 14:05:13 -0700 Message-ID: Subject: Re: Java heap space (out of memory) From: Deepak Shetty To: JMeter Users List Content-Type: multipart/alternative; boundary=000e0cd23ef203ae1204a6e02492 --000e0cd23ef203ae1204a6e02492 Content-Type: text/plain; charset=ISO-8859-1 yes. Again increasin g this heap only helps when you actually need that much memory at the same time. Otherwise it only delays the problem . if for e.g. you read a lsitener that uses memory proportional to the number of samples , eventually you will get this error , whetever the size of the heap. On Wed, Jun 29, 2011 at 2:01 PM, Andrej van der Zee < andrejvanderzee@gmail.com> wrote: > > > > Thanks. What is the difference between -Xms512m and -Xmx512m? If I want > to > >> reserve 2GB of heap-size, should I both set them on 2048 or 1024? > > > > > Ahhh never mind, I see now its a Java-thing which means start and max heap > size. > > Cheers, > Andrej > --000e0cd23ef203ae1204a6e02492--