Menu

#43 [sdocbook] OutOfMemoryException - no way to set JVM args

release
open
sdocbook (7)
5
2005-08-01
2005-02-28
Mike Traum
No

When proocessing large documents in sdocbook,
OutOfMemoryExceptions's occur. Setting MAVEN_OPTS for
more memory does not help, because the transformations
are done by forking a new jvm.

There are 2 ways to fix this:
1. Add a new property so that you can set the maxmemory
of the java ant task
2. Send along the MAVEN_OPTS to the forked jvm's

I'm attaching a patch against cvs head which implements
the second option.

mike

Discussion

  • Mike Traum

    Mike Traum - 2005-02-28

    Patch to send MAVEN_OPTS along to forked JVM's

     
  • Siegfried GOESCHL

    Logged In: YES
    user_id=183881

    Hi Mike,

    thanks for the patch but I think it is safer to go with an
    explicit property since I have no control whatsoever about
    the content of MAVEN_OPTS

    Siegfried Goeschl

     
  • Mike Traum

    Mike Traum - 2005-04-20

    Logged In: YES
    user_id=407536

    I'd really like to use this in my project, but can't because
    this isn't resolved.

    If I submit a patch to solve this using a new property,
    could I expect a new release soon?

    Thanks,
    Mike

     
  • Carlos Sanchez

    Carlos Sanchez - 2005-08-01
    • summary: OutOfMemoryException in sdocbook - no way to set JVM args --> [sdocbook] OutOfMemoryException - no way to set JVM args
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.