From issues-return-142501-archive-asf-public=cust-asf.ponee.io@maven.apache.org Mon Dec 24 01:13:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 55B3B180608 for ; Mon, 24 Dec 2018 01:13:04 +0100 (CET) Received: (qmail 22343 invoked by uid 500); 24 Dec 2018 00:13:03 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 22332 invoked by uid 99); 24 Dec 2018 00:13:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Dec 2018 00:13:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E6EC9C0616 for ; Mon, 24 Dec 2018 00:13:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id rZt6GO-eQQ42 for ; Mon, 24 Dec 2018 00:13:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 305ED5FE3B for ; Mon, 24 Dec 2018 00:13:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 92043E0C57 for ; Mon, 24 Dec 2018 00:13:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 211B825344 for ; Mon, 24 Dec 2018 00:13:00 +0000 (UTC) Date: Mon, 24 Dec 2018 00:13:00 +0000 (UTC) From: "Sylwester Lachiewicz (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MASSEMBLY-766) OOM with 1CPU MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MASSEMBLY-766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16728081#comment-16728081 ] Sylwester Lachiewicz commented on MASSEMBLY-766: ------------------------------------------------ Latest versions of assembly-plugins should be less hungry for memory - do You have a chance to re-test? > OOM with 1CPU > ------------- > > Key: MASSEMBLY-766 > URL: https://issues.apache.org/jira/browse/MASSEMBLY-766 > Project: Maven Assembly Plugin > Issue Type: Bug > Components: maven-archiver > Affects Versions: 2.5.4 > Environment: jdk 8, sles 11.3, 1G heap build large assemblies 100M + > Reporter: Dan Tran > Priority: Major > > Just happen to run on 1CPU VM, and VM crash on OOM > sample errors > # > # There is insufficient memory for the Java Runtime Environment to continue. > # Native memory allocation (malloc) failed to allocate 82576 bytes for Chunk::new > # An error report file with more information is saved as: > # /var/lib/jenkins/jobs/xxxx-all-bugId-template/workspace/hs_err_pid26261.log > # > # Compiler replay data is saved as: > # /var/lib/jenkins/jobs/xxx-all-bugId-template/workspace/replay_pid26261.log > Build step 'Invoke top-level Maven targets' marked build as failure > another one > [INFO] --- maven-assembly-plugin:2.5.4:single (uber-jar) @ xxx-configmgr --- > mmap failed for CEN and END part of zip file > java.lang.OutOfMemoryError > at java.util.zip.ZipFile.open(Native Method) > .... > org.codehaus.plexus.archiver.zip.PlexusIoZipFileResourceCollection$1.getResource(PlexusIoZipFileResourceCollection.java:69) > at org.codehaus.plexus.archiver.zip.PlexusIoZipFileResourceCollection$ZipFileResourceIterator$1.getURL(PlexusIoZipFileResourceCollection.java:125) > at org.codehaus.plexus.components.io.resources.PlexusIoURLResource.getContents(PlexusIoURLResource.java:37) > at .... > org.codehaus.plexus.archiver.ArchiveEntry.getInputStream(ArchiveEntry.java:126) > at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.zipFile(AbstractZipArchiver.java:514) > at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.addResources(AbstractZipArchiver.java:370) > at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:326) > at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute(AbstractZipArchiver.java:227) > at org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:990) > at org.apache.maven.plugin.assembly.archive.archiver.AssemblyProxyArchiver.createArchive(AssemblyProxyArchiver.java:437) > at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:181) > at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:484) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) -- This message was sent by Atlassian JIRA (v7.6.3#76005)