Just for interest sake, i adjusted the memory for maven up to 2gb :
"-Xms256m -Xmx2048m" and then my modules compiled fine.
Took long but worked!
For those that have more modules than what im using you might have to push
the memory up abit more until it works.
On Wednesday, September 5, 2012 4:40:28 PM UTC+2, Darryn John Mclachlan
wrote:
>
> Hi All,
>
> Not sure if this is a known bug or if its a setup issue but when i run a
> clean install on my project i run into serious memory issues especially
> when it comes to compiling the modules. My memory peaks up to a gig in a
> few seconds before i get the GC error as seen in the screenshot.
>
> Im using Maven 3.0.3, Flex SDK 4.6 and flexmojos-maven-plugin 4.0-RC2
>
> Refer to the attached screenshot of the output.
>
> And below is what my pom.xml looks like :
>
> <properties>
> <flex.version>4.6.b.23201</flex.version>
> <flex.home>C:\Program Files (x86)\Adobe\Adobe Flash Builder
> 4.6\sdks\4.6.0</flex.home>
> </properties>
>
> <dependencies>
> <dependency>
> <groupId>com.adobe.flex.framework</groupId>
> <artifactId>flex-framework</artifactId>
> <version>${flex.version}</version>
> <type>pom</type>
> </dependency>
> </dependencies>
>
> <build>
> <sourceDirectory>src/main/flex</sourceDirectory>
> <plugins>
> <plugin>
> <groupId>org.sonatype.flexmojos</groupId>
> <artifactId>flexmojos-maven-plugin</artifactId>
> <version>4.0-RC2</version>
> <extensions>true</extensions>
> <dependencies>
> <dependency>
> <groupId>com.adobe.flex</groupId>
> <artifactId>compiler</artifactId>
> <version>${flex.version}</version>
> <type>pom</type>
> </dependency>
> </dependencies>
> <configuration>
> <compilerWarnings>
>
> <show-actionscript-warnings>false</show-actionscript-warnings>
>
> <show-binding-warnings>false</show-binding-warnings>
> </compilerWarnings>
> <swfVersion>11</swfVersion>
> <themes>
>
> <theme>${flex.home}/frameworks/themes/spark/spark.css</theme>
> </themes>
>
> <!-- Use Adobe-signed framework Runtime Shared
> Libraries (RSLs). -->
> <policyFileUrls>
> <url>
> http://fpdownload.adobe.com/pub/swz/crossdomain.xml</url>
> </policyFileUrls>
> <rslUrls>
> <url>
> http://fpdownload.adobe.com/pub/swz/flex/${flex.version}/{artifactId}_{version}.{extension}
> </url>
> </rslUrls>
>
> <!--
> RESOURCE BUNDLE TO COMPILE
> -->
>
> <localesSourcePath>${basedir}/src/main/resources/en_US</localesSourcePath>
> <localesCompiled>
> <locale>en_US</locale>
> </localesCompiled>
>
> <!--
> MODULES WE WILL BE COMPILING
> -->
> <modules>
> <module>/modules/Affordability.mxml</module>
>
> <module>/modules/ApplicationInformation.mxml</module>
> <module>/modules/BrokersPortal.mxml</module>
> <module>/modules/ConsumerEnquiry.mxml</module>
> <module>/modules/ConsumerVetting.mxml</module>
> <module>/modules/Documentation.mxml</module>
> <module>/modules/FundersPortal.mxml</module>
> <module>/modules/ManageBands.mxml</module>
> <module>/modules/ManageBrokers.mxml</module>
> <module>/modules/ManageFunders.mxml</module>
> <module>/modules/ManageUsers.mxml</module>
> <module>/modules/ManagementPortal.mxml</module>
> <module>/modules/Notes.mxml</module>
> <module>/modules/ProductCalculator.mxml</module>
> <module>/modules/SearchApplication.mxml</module>
> <module>/modules/BrokerReports.mxml</module>
> <module>/modules/FunderReports.mxml</module>
> <module>/modules/ManagementReports.mxml</module>
> <module>/modules/ManageChannel.mxml</module>
> </modules>
> </configuration>
> </plugin>
> </plugins>
> <defaultGoal>compile-swf</defaultGoal>
> </build>
>
> Thx
> Darryn
>
--
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos
http://flexmojos.sonatype.org/