flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simon gladman <sglad...@gmail.com>
Subject Re: Weird Issues With Flex Project
Date Mon, 08 Jul 2013 14:46:52 GMT
Thanks Alex,

Flash Builder 4.7 (latest version - I uninstalled and reinstalled earlier),
the SDK is 4.9.1 (1447119). The logs says...

*!ENTRY org.eclipse.core.jobs 4 2 2013-07-08 14:33:36.889*
*!MESSAGE An internal error occurred during: "Building workspace".*
*!STACK 0*
*java.lang.OutOfMemoryError: Java heap space*
* at java.util.Arrays.copyOf(Arrays.java:2786)*
* at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:71)*
* at flash.swf.RandomAccessBuffer.write(RandomAccessBuffer.java:101)*
* at flash.swf.SwfEncoder.writeUI16(SwfEncoder.java:71)*
* at flash.swf.TagEncoder.encodeTagHeader(TagEncoder.java:311)*
* at flash.swf.TagEncoder.defineBinaryData(TagEncoder.java:330)*
* at flash.swf.tags.DefineBinaryData.visit(DefineBinaryData.java:37)*
* at flash.swf.MovieEncoder.define(MovieEncoder.java:231)*
* at flash.swf.MovieEncoder.export(MovieEncoder.java:139)*
* at flex2.compiler.PersistenceStore.writeAssets(PersistenceStore.java:922)*
* at
flex2.compiler.PersistenceStore.writeCompilationUnit(PersistenceStore.java:875)
*
* at
flex2.compiler.PersistenceStore.writeCompilationUnits(PersistenceStore.java:662)
*
* at flex2.compiler.PersistenceStore.write(PersistenceStore.java:310)*
* at
flex2.compiler.CompilerAPI.persistCompilationUnits(CompilerAPI.java:4766)*
* at
flex2.compiler.CompilerAPI.persistCompilationUnits(CompilerAPI.java:4741)*
* at flex2.tools.oem.internal.OEMUtil.save(OEMUtil.java:180)*
* at flex2.tools.oem.Application.save(Application.java:619)*
* at
com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.saveState(ASBuilder.java:870)
*
* at
com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.saveState(ASItemBuilder.java:119)
*
* at
com.adobe.flexbuilder.project.compiler.BuilderManager.maybeRemoveOldestBuilder(BuilderManager.java:171)
*
* at
com.adobe.flexbuilder.project.compiler.BuilderManager.getBuilder(BuilderManager.java:199)
*
* at
com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.preBuild(FlexIncrementalBuilder.java:464)
*
* at
com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(FlexProjectBuilder.java:705)
*
* at
com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildWorkers(FlexProjectBuilder.java:592)
*
* at
com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuilder.java:406)
*
* at
com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:171)
*
* at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)*
* at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)*
* at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
*
* at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
*
* at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)*
* at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)*

Simon


On 8 July 2013 15:30, Alex Harui <aharui@adobe.com> wrote:

> Which exact versions of FlashBuilder and Apache Flex?
>
> What does the FlashBuilder log have to say?
>
> -Alex
>
> On 7/8/13 6:51 AM, "simon gladman" <sgladman@gmail.com> wrote:
>
> >Hi All,
> >
> >I have a project which is making FlashBuilder with the
> >latest Apache Flex behave very oddly.
> >
> >The attached project is actually a rebuilt version of a previous one. When
> >I first started coding, it was fine, then suddenly I start getting *Java
> >heap space* errors and FB stops working. Interestingly, the first FXP
> >export is only 3.8MB but after the heap space errors, the FXP export jumps
> >up to 135MB (!).
> >
> >I've done loads of stuff with workers without any problems. I can't see
> >what's different about this.
> >
> >Any suggestions appreciated. The smaller FXP is here:
> >www.flexmonkey.co.uk/x_SwarmChemistry2.fxp
> >
> >
> >Thanks,
> >
> >Simon
> >
> >--
> >*flexmonkey.co.uk | @FlexMonkey <https://twitter.com/FlexMonkey> | +44
> (0)
> >7973 669691*
>
>


-- 
*flexmonkey.co.uk | @FlexMonkey <https://twitter.com/FlexMonkey> | +44 (0)
7973 669691*

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