java.lang.OutOfMemoryError at java.io.RandomAccessFile.writeBytes(Native Method)
at java.io.RandomAccessFile.write(Unknown Source)
at flex2.compiler.PersistenceStore.write(PersistenceStore.java:149)
at flex2.compiler.API.persistCompilationUnits(API.java:4124)
at flex2.tools.oem.internal.OEMUtil.save(OEMUtil.java:163)
at flex2.tools.oem.Application.save(Application.java:504)
at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.saveState(ASBuilder.java:522)
at com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.saveState(ASItemBuilder.java:94)
at com.adobe.flexbuilder.project.compiler.BuilderManager.maybeRemoveOldestBuilder(Unknown Source)
at com.adobe.flexbuilder.project.compiler.BuilderManager.getBuilder(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.preBuild(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildModules(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Use a larger value for -Xmx. Note that with a 32-bit JVM you might be limited to around 1.5GB max
Why did you set -Xmx1157m in eclipse.ini and then overwrite that with a smaller value (-Xmx1024m) in the command line for the eclipse icon?
Was that the entire stack trace? Usually there is some text the accompanies the OOME and that text indicates exactly what memory you are out of (each OOME type has a different solution).
this is one of the stack trace but all of them like this outofMemory heap related.
but all of them are related to them only like failed to grab the pixel at run time this is related to also .
I am sorry, but I do not understand what you are saying.
any another suggestion please let me know....i will do the change accordingly also
thanks for your response...waiting for your suggestion.
Not sure how to answer this. I made a suggestion already yet you seem to be saying that you plan to make the change later and are still awaiting more suggestions. Why? You need to first make the suggested change and only if it does not work ask for more suggestions.
Prabhat Ranjan
Ranch Hand
Joined: Oct 04, 2006
Posts: 361
posted
0
sorry to misunderstood you. Actually i will implement as you suggested but i replied you yesterday evening once i left from my office.
and today/Tom-arrow is office closed so once i go office then i can do implement.
this i only meant to say !
prabhat
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Internal error occurs during building workspace ?