Thanks Alex,
I think at this point i need to modify my java server application.
While using flex, it was easy to define and load small amount of files
via the custom embedded http server.
But for royale, i need to improve the http handler for multiple files
loading automatically from the relative paths. This is the reason of the
error, can not fined the included js files.
This will take sometime. Will come back :)
Serkan.
30.11.2018 23:12 tarihinde Alex Harui yazdı:
What is the code around PinaraUI.js line 272? As you resolve those
issues, more and more of the code should run.
-Alex
*From: *Serkan Taş <[email protected]>
*Reply-To: *"[email protected]" <[email protected]>
*Date: *Friday, November 30, 2018 at 12:06 PM
*To: *"[email protected]" <[email protected]>
*Subject: *Re: Work on Emulation
correction : index.html is created but has some errors.
PinaraUI.js:272 Uncaught TypeError: Cannot read property
'ModelLocator' of undefined
at PinaraUI.js:272
(anonymous) @ PinaraUI.js:272
SystemManager.js:221 Uncaught TypeError: Cannot read property 'mixins'
of undefined
at
PinaraUI_mx_managers_SystemManager.mx.managers.SystemManager.start
(SystemManager.js:221)
at index.html:1662
mx.managers.SystemManager.start @ SystemManager.js:221
(anonymous) @ index.html:1662
30.11.2018 23:03 tarihinde Serkan Taş yazdı:
Hi Alex,
29.11.2018 23:49 tarihinde Alex Harui yazdı:
Hi Serkan,
Look like it is the Google Closure Compiler that is reporting
this problem.
Here’s a link to options for JVM:
https://stackoverflow.com/questions/1393486/error-java-lang-outofmemoryerror-gc-overhead-limit-exceeded
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1393486%2Ferror-java-lang-outofmemoryerror-gc-overhead-limit-exceeded&data=02%7C01%7Caharui%40adobe.com%7C4463ea640fec4a0da40b08d656ff4cbb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636792051844850797&sdata=MLmH2cG7e2En%2B0%2FrSG3xC4QL7RWvIqsUJLdRxvvrNAU%3D&reserved=0>
I don’t know if it cares if you use “G” or “g” but the article
uses “g”.
*I had already tried those in the link but not succeeded. So
searching for alternatives. *
You can also try using -js-compiler-options to pass different
options to the Google Closure Compiler, such as
SIMPLE_OPTIMIZATIONS. However if you are not getting any
SEVERE errors at this point, you can probably try running the
bin/js-debug/index.html.
*Unfortunately the index is generated, broken somewhere in the
middle. I am going to look -js-compiler-options and
SIMPLE_OPTIMIZATIONS*
In the end, you may need to break up your code into smaller
sets of files via Modules.
I already have some models but i see that still too big for
closure to compile, although i thought it was not.
HTH,
-Alex
Thanks,
Serkan
*From: *Serkan Taş <[email protected]>
<mailto:[email protected]>
*Reply-To: *"[email protected]"
<mailto:[email protected]> <[email protected]>
<mailto:[email protected]>
*Date: *Thursday, November 29, 2018 at 1:48 AM
*To: *"[email protected]"
<mailto:[email protected]> <[email protected]>
<mailto:[email protected]>
*Subject: *Re: Work on Emulation
*java.lang.OutOfMemoryError: GC overhead limit exceeded*