maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curtis Rueden <ctrue...@wisc.edu>
Subject Re: Increasing Java Heap Size
Date Tue, 09 Aug 2016 04:04:16 GMT
Hi Kal,

>From the POM file, it looks like a NetBeans application which uses the
nbm-maven-plugin? So maybe this blog post helps you?

https://netbeansscribbles.wordpress.com/2013/11/27/changing-vm-options-for-netbeans-rcp-applications/

(Caveat emptor: I have not actually worked on this sort of application,
personally.)

Regards,
Curtis

--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden
Did you know ImageJ has a forum? http://forum.imagej.net/


On Mon, Aug 8, 2016 at 8:47 PM, lando <lando2@gmail.com> wrote:

> I'm rather lost on this maven installation and not sure what goal I should
> be running.   What is happening is that the java file is compiling to an
> exe and the application is running from there.  The reason I need more heap
> space is because I'm working with awt Images and they gobble down the
> memory, the 64m max heap I currently have is too small.    If exec.java
> plugin is meant for this kind of work I'll take a look at it.
>
> The codebase I am working with is at
> https://github.com/sebbrudzinski/Open-LaTeX-Studio if that helps to look
> at
> the pom files.   I'm also looking at the oreilly book maven to try to get
> up to speed.
>
> On Mon, Aug 8, 2016 at 8:25 PM, Jeff Jensen <
> jeffjensen@upstairstechnology.com> wrote:
>
> > What Maven goal are you running that requires additional memory?
> >
> > On Mon, Aug 8, 2016 at 7:14 PM, lando <lando2@gmail.com> wrote:
> >
> > > Sorry if this is a double post haven't seen the original being sent out
> > > yet.
> > >
> > > Hello,
> > > I'm trying to increase the heap size in the executable that maven
> > produces
> > > without much luck  I've tried <argLine>-Xmx512m</argLine> in the
> surefire
> > > plugin, but from what I can tell this is only for tests and not for the
> > > final package.  I'm new to maven and having difficulty finding a
> > solution.
> > > I'm using Netbeans 8.1 as my IDE.
> > >
> > > On Mon, Aug 8, 2016 at 8:03 PM, lando <lando2@gmail.com> wrote:
> > >
> > > > Hello,
> > > > I'm trying to increase the heap size in the executable that maven
> > > produces
> > > > without much luck  I've tried <argLine>-Xmx512m</argLine>
in the
> > surefire
> > > > plugin, but from what I can tell this is only for tests and not for
> the
> > > > final package.  I'm new to maven and having difficulty finding a
> > > solution.
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message