bigtop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron Bogdanoff (Updated) (JIRA)" <>
Subject [jira] [Updated] (BIGTOP-472) make deb fails when building Whirr - OutOfMemoryError: PermGen space
Date Tue, 20 Mar 2012 17:29:38 GMT


Ron Bogdanoff updated BIGTOP-472:


suggested patch
> make deb fails when building Whirr - OutOfMemoryError: PermGen space
> --------------------------------------------------------------------
>                 Key: BIGTOP-472
>                 URL:
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Debian
>    Affects Versions: 0.3.0
>         Environment: Ubuntu 10.04 LTS (Lucid).  Sun JDK 1.6.0_26-b03
>            Reporter: Ron Bogdanoff
>              Labels: patch
>         Attachments:
> During 'make deb' Whirr fails to build because the Sun JVM (running Maven) is out of
Permanent Generation space (this is *not* heap space).
> By setting the env variable MAVEN_OPTS=-XX:MaxPermSize=128m this parameter will be used
when Maven evokes the JVM and 128m seems to be sufficient PermGen space to complete the make
deb (I have tested this).
> HOWEVER, setting this env variable is not enough.  There needs to be a change to
so debuild will 'perserve' this env variable and pass it to the (presumably) forked process
where maven runs.  See the debuild man pages ENVIRONMENT VARIABLES section for documentation
on this.
> So, without the MAVEN_OPTS env var 'preserved' by debuild in, setting MAVEN_OPTS
alone will have no affect on make deb.
> Attached is a suggested change to (just adding --preserve-envvar MAVEN_OPTS
) - not sure if this is the best way to handle this, but this is what I did locally to complete
make deb on 0.3.0

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message