Mukarram,

There should be a way to increase the PermGenSize for a maven plugin since
they are run in a forked jvm.

I tried to find a way to do this within maven, but could not. You might
look at several plugins that do this by adding a config line, such as:
https://community.jboss.org/message/647753

If you can't find a way to do this within maven, just submit you patch as a
pull request on github and I'll integrate your code right away. The
jibx-maven-plugin is here:
https://github.com/jibx/maven-plugin

Good Luck!

Don


> Message: 7
> Date: Mon, 30 Apr 2012 11:26:42 +0530
> From: Mukarram Baig <mukarram.b...@gmail.com>
> Subject: [jibx-users] Configuring PermGenSize for jibx-maven-plugin
>        without environment variables
> To: jibx-users@lists.sourceforge.net
> Message-ID:
>        <CAAdDoeQQ+go5Zfej4NH2es9XDk7PvUoFEa=vfnbsjw3gwge...@mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> When running the schema-codegen goal of jibx-maven-plugin, we sometimes run
> into OOME on the PermGenSize. Currently, we set the MAVEN_OPTS of the
> enclosing shell to specify a higher PermGenSize setting to get by. This
> doesn't work well with automated installs and overall use of environment
> variables seem evil. Wanted to know if it makes sense to have this
> configured via the maven plugin itself? I would like to contribute a patch
> to get this done if someone can give me a pointer from where to start.
>
> Thanks in advance.
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
> ------------------------------
>
> _______________________________________________
> jibx-users mailing list
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>
>
> End of jibx-users Digest, Vol 71, Issue 1
> *****************************************
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to