[
https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860213#action_12860213
]
Katherine Sanders commented on AXIS2-4691:
------------------------------------------
I've tried the following JDK and maven combinations, and I get the same heap
space error in the jaxws component every time using the latest build without
changes:
Maven 2.0.11 + Sun JDK 1.6.0_16
Maven 2.2.1 + Sun JDK 1.6.0_16
Maven 2.0.11 + Sun JDK 1.5.0_16
Maven 2.2.1 + Sun JDK 1.5.0_16
I'm using Windows XP Pro SP3 on a machine with 3GB of RAM and I've tried
expanding the max heap size to 3GB using:
MVN_OPTIONS=-Xmx3072m
When I montior task manager I can still see memory available so I'm not sure if
the heap size option is actually working.
I'm not sure the problem is my environment either because I can build r933791
without any problems.
If anyone can recommend a better combination of maven and JDK, I'm happy to
give it a try. Otherwise I'll just continue building with the method I
described above.
> JAX-WS module compile fails due to Java heap space error on Windows XP
> ----------------------------------------------------------------------
>
> Key: AXIS2-4691
> URL: https://issues.apache.org/jira/browse/AXIS2-4691
> Project: Axis2
> Issue Type: Bug
> Components: jaxws
> Environment: Apache Maven 2.0.11 (r909250; 2010-02-12 05:55:50+0000)
> Java version: 1.6.0_16
> Java home: C:\Program Files\Java\jdk1.6.0_16\jre
> Default locale: en_GB, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> Same errors occur with maven 2.2.1 and jdk 1.5.0_16
> Reporter: Katherine Sanders
>
> The following error occurs when I do a full axis2 build on the latest
> revision. The error has been occurring since r934683 (r933791builds without
> errors).
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Axis2 - JAXWS
> [INFO] task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory C:\sandbox\axis2\modules\jaxws\target
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [remote-resources:process {execution: legal-files}]
> [INFO] [resources:resources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory C:\sandbox\axis2\modules\jaxws\conf
> [INFO] Copying 0 resource
> [INFO] Copying 2 resources
> [INFO] Copying 5 resources
> [INFO] Copying 5 resources
> [INFO] [compiler:compile]
> [INFO] Compiling 276 source files to
> C:\sandbox\axis2\modules\jaxws\target\classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Fatal error compiling
> Embedded error: Error while executing the compiler.
> Java heap space
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6 minutes 54 seconds
> [INFO] Finished at: Wed Apr 21 17:10:03 BST 2010
> [INFO] Final Memory: 53M/63M
> [INFO]
> ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]