-
-
Notifications
You must be signed in to change notification settings - Fork 197
Build Error: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory #2756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@mawoole please notice that this repository is for log issues, bugs, and feature requests. Post similar question in one of the community channels like forum.nativescript.org Regarding your issue - you should run Also, one of the steps in |
From @mawoole on May 1, 2017 15:6 Thanks @NickIliev for your answer. I ran tns build android command from the root application folder H:\Dev\projects\nativescript-ui-samples-release\sdk Found peer TypeScript 2.1.5 H:\Dev\projects\nativescript-ui-samples-release\sdk>tns build android Project successfully prepared (android) :config phase: createDefaultIncludeFiles :config phase: createPluginsConfigFile :config phase: pluginExtend
:config phase: copyAarDependencies :config phase: addAarDependencies BUILD SUCCESSFUL Total time: 2 mins 35.749 secs H:\Dev\projects\nativescript-ui-samples-release\sdk> |
#2168 (comment) might help. |
Hi @Pip3r4o, I can see that in your referenced comment (#2168) : "I saw that my problem was, of course, my 32bits environment, so I change 'native-dev-typescript\lib\compiler.js' to set '--max_old_space_size=4096' to '--max_old_space_size=2048' it is about to change 'native-dev-typescript\lib\compiler.js' to set '--max_old_space_size=4096' to '--max_old_space_size=2048', Please, can you tell me where exactly to change these parameters? Thanks |
Using nativescript-dev-typescript 0.3.5, |
Thanks @JulienFr, |
set JAVA_OPTS = -Xms1024m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=356m -XX:PermSize=256m -XX:MaxPermSize=356m." where to set these parameter |
From @mawoole on May 1, 2017 14:18
Hi,
Please, can somebody help me generate .js files of all .ts files of https://github.com/telerik/nativescript-ui-samples/tree/release/sdk/app.
I did :
tns build android
then:
Tsc
But it can't generate .js files.
Can you tell me the exact steps to get these .js files.
Thanks
Copied from original issue: ProgressNS/nativescript-ui-feedback#163
The text was updated successfully, but these errors were encountered: