Hi Allen, One of the simpler projects that has a MyInitialView is in examples/flexjs/DataBindingExample. See if you can get that to build using whatever build process you are using. If you can build DataBindingExample, then the next thing to do is comment out just about everything in your MXML files except the top-level tags (js:Application and js:View) and see if that builds. Then uncomment more and more until it runs out of memory. That might help figure out what is eating up the memory. If DataBindingExample doesn't build, then we'll need to know more about what version of Java is being used and what memory settings are for Java.
HTH, -Alex On 7/8/17, 2:28 PM, "Allen YANG" <allen.y...@raritan.com> wrote: >Hi Alex, >I took the same SearchBox source files to Flash Builder 4.7 and got the >same error; that allowed me to dump the stack trace, and you are correct, >it is out of memory. >Stack trace: >------------------------------------------------------------ >java.lang.OutOfMemoryError: Java heap space >at java.util.concurrent.CopyOnWriteArrayList.iterator(Unknown Source) >at >org.eclipse.mylyn.internal.monitor.ui.ActivityContextManager.getLastIntera >ctionTime(ActivityContextManager.java:227) >at >org.eclipse.mylyn.internal.monitor.ui.ActivityContextManager$2.getLastEven >tTime(ActivityContextManager.java:88) >at >org.eclipse.mylyn.internal.monitor.ui.CheckActivityJob.run(CheckActivityJo >b.java:86) >at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) > >The two MXML files are too small to run out of memory for the compiler. >I removed "import import com.iwobanas.core.ISearchable;" statement, saved >the code, cleaned and rebuild the project; the compiler still took a long >while then ran out of memory. > >Regards, >Allen > >-----Original Message----- >From: Allen YANG [mailto:allen.y...@raritan.com] >Sent: Saturday, July 08, 2017 11:58 AM >To: dev@flex.apache.org >Subject: Re: [FlexJS] question about porting an Adobe Flex 3 project to >HTML+JS > >Hi Alex, >Two files only. One file is application and calls the 2nd MXML file. The >2nd file is the SearchBox.MXML file that's less than 40 lines but imports >the ISearchable. > >I will look into the examples. >Thanks and Regards, >Allen > > > >Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone > > >-------- Original message -------- >From: Alex Harui <aha...@adobe.com.INVALID> >Date: 7/8/17 10:49 AM (GMT-05:00) >To: dev@flex.apache.org >Subject: Re: [FlexJS] question about porting an Adobe Flex 3 project to >HTML+JS > >Hi Allen, > >Looks like the compiler is somehow running out of memory. > >How many files are you trying to compile? > >I think Isearchable might be part of a larger set of source and you may >need all of that source. FlexJS doesn't have an equivalent, and it would >be useful to us to see how hard it would be for someone like you to make >a library like this work in FlexJS. You could also ask Iwo Banas >directly to see if he might be willing to help you out. > >HTH, >-Alex > > > >________________________________ > >Ce message, ainsi que tous les fichiers joints à ce message, peuvent >contenir des informations sensibles et/ ou confidentielles ne devant pas >être divulguées. Si vous n'êtes pas le destinataire de ce message (ou que >vous recevez ce message par erreur), nous vous remercions de le notifier >immédiatement à son expéditeur, et de détruire ce message. Toute copie, >divulgation, modification, utilisation ou diffusion, non autorisée, >directe ou indirecte, de tout ou partie de ce message, est strictement >interdite. > > >This e-mail, and any document attached hereby, may contain confidential >and/or privileged information. If you are not the intended recipient (or >have received this e-mail in error) please notify the sender immediately >and destroy this e-mail. Any unauthorized, direct or indirect, copying, >disclosure, distribution or other use of the material or parts thereof is >strictly forbidden.