Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jybLp-0006Qv-3h for pgsql-jdbc@arkaria.postgresql.org; Thu, 23 Jul 2020 13:33:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jybLo-0007Gu-2X for pgsql-jdbc@arkaria.postgresql.org; Thu, 23 Jul 2020 13:33:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jybLn-0007Gn-Qi for pgsql-jdbc@lists.postgresql.org; Thu, 23 Jul 2020 13:33:31 +0000 Received: from mail-oi1-x22b.google.com ([2607:f8b0:4864:20::22b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jybLl-0004Rw-Me for pgsql-jdbc@lists.postgresql.org; Thu, 23 Jul 2020 13:33:30 +0000 Received: by mail-oi1-x22b.google.com with SMTP id w17so4994589oie.6 for ; Thu, 23 Jul 2020 06:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=37Qw3Jru6U7cMc5ThRJnyA6Pz35FdIJcEADIvXkhSk0=; b=AO4n9baMCC/h8En2uODTSZmBnplIuv9Gw7AryefiKKsp4LEnspxQ/bAoKWN2o3txzD 7iPILW0o1lK3sZIDyNkwJvWVBf86mFRwU3pfjc06Z0NV+Vl/KNbcggr7BlSC0Snlnu4N 0YTlKOZItSO8zlXnNl/iViL6HfDVLpQrjojxhRBXVWO/ZVtg8KeKKsLT5VRoTrgyFI5l Hc2k02bfXt+Z9szztvRfdmeagzdcTZtd+3pkeWLgB8E2CcVH4nXkU/PGQmwgxMlY40xy +K1N+ltBB1chvymMkSFrvBZM1wsB8tizgd1wuqIUV5Nk4wCv2+xHykXZ89o6Jw45oyEk mzIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=37Qw3Jru6U7cMc5ThRJnyA6Pz35FdIJcEADIvXkhSk0=; b=fyMSAE7+IVJ8/hfpR9Cipm5sVtfiQ1Pmk+gHCfL6fgUk6yCHhADlodyYO4KAMlFn/c P8czdWtMKz8kvfCuHVyVbI6i02Pwns82vXnkJNOZYZkVEACaeb7P96la373X7fuqKAF3 n93dckAcDNl3qMHoTwaWOU0nH2YWDUhWf/mb2m6MUw0DuDFKF3AVvqieVp02UPTJNDgU OL8Wr3/qD809gzDZHUmOr4G9UJ9eTRGjM8TfUBzcil8Wakdy9poLpZE/PUeDCW2eKrjX jEfapxPRMK504f4tLDW6k/CHnUzeSANzoAYhMP2i8LztaBBGSbARbPKjp00CbiDc20mJ EgJA== X-Gm-Message-State: AOAM530O9Bd+AKf9/wZX/Y+BlW3m8f1pHo4BOyAL7TUfwOrCY9A7TUoO 3avVVihClxIDgBU3YNlEc7FszvuVUHw= X-Google-Smtp-Source: ABdhPJwpLYHes4bhlL/JBUKqr9/PC/Yn81pb0CbeX4hiccygD7Iun9QqAe771f7NOk0EDQhnO7fRiw== X-Received: by 2002:aca:c5ca:: with SMTP id v193mr3849481oif.83.1595511207164; Thu, 23 Jul 2020 06:33:27 -0700 (PDT) Received: from ?IPv6:2601:681:5500:dde0:59d8:5a1:866d:1674? ([2601:681:5500:dde0:59d8:5a1:866d:1674]) by smtp.gmail.com with ESMTPSA id s4sm664538oom.15.2020.07.23.06.33.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Jul 2020 06:33:26 -0700 (PDT) Subject: Re: java.lang.OutOfMemoryError: GC overhead limit exceeded To: pgsql-jdbc@lists.postgresql.org References: <347898505.8863312.1595495804718.ref@mail.yahoo.com> <347898505.8863312.1595495804718@mail.yahoo.com> <382025017.8991457.1595502401602@mail.yahoo.com> <928088161.9058165.1595507441236@mail.yahoo.com> From: Rob Sargent Message-ID: <43984f6e-0733-0316-c14d-d092c6efd9a8@gmail.com> Date: Thu, 23 Jul 2020 07:33:25 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <928088161.9058165.1595507441236@mail.yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 7/23/20 6:30 AM, Christophe combet wrote: > > Thank you for pointing the link between auto commit an buffering. > > autocommit=false: same exception. > > We try fetchSize. > > Thanks. > Le jeudi 23 juillet 2020 à 13:47:14 UTC+2, Vladimir Sitnikov > a écrit : > > > >can you try switching to autocommit=false? > > + you probably need to configure fetchSize as well. > > Vladimir > You set the 8G limit on the java process but did you tell up the available RAM? This query would require that about 3G be available to hold all the data. Can you use jConsole to establish how much memory is available at the time of issuing the query?