-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory #2168
Comments
According this stackoverflow thread the problem may be allocating too much memory. Here is the suggested sollution
I am not sure how we can test it in the context of |
The fix will be included in nativescript-dev-typescript@0.3.3. |
I'm using nativescript-dev-typescript@0.3.5, and all libs up to date, and it isn't working, I'm getting the same error. |
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 works to me! |
alansousa hi bro can you plz tell where you have set JAVA_OPTS = -Xms1024m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=356m -XX:PermSize=256m -XX:MaxPermSize=356m |
Solution that worked for me : webpack.config.js
The build time is even faster ! |
Hi all i also got same error but not solved by all above then |
Tell us about the problem
The
tns livesync android --watch
command throws a fatal error while syncing an application:https://gist.github.com/vchimev/ff09a52344deeda9ab8726b393856145
https://gist.github.com/vchimev/a6432699227d7faa99e2a1b00e2bc396
https://gist.github.com/vchimev/ebb14fa5f8bec922ea8b8c3008f0977a
https://gist.github.com/vchimev/62e757711b27d9a82605f781fea265ad
Please provide the following version numbers that your issue occurs with:
Please tell us how to recreate the issue in as much detail as possible.
App: https://github.com/NativeScript/NativeScript/tree/master/apps
Emulator: Api 24 - Intel x86 Atom System Image
Change the apps/app/ui-tests-app/flexbox/flexbox.ts file.
It seems that something during
causes the error.
The text was updated successfully, but these errors were encountered: