Software Archive
Read-only legacy content
17061 Discussions

Building problem with big size app

Thibaut_P_
Beginner
627 Views

Hi,

Since 3088 update, i have a problem when building the app. Intel xdk crashes after 1 minute (version 3088 on windows 7 64 bits, ios)

Before the update, i have no problem. When i delete some files, and the app is smaller, it's ok too.

The size of the app on the disk is 282 Mo.

When the app is smaller (~100 Mo), intel xdk don't crash and the ipa is ok.

I have already send the crash log but is there a solution for that ?

best regards,

Thibaut

0 Kudos
17 Replies
PaulF_IntelCorp
Employee
627 Views

I'm wondering if the Brackets editor is crashing because it is trying to scan all those files. Are you using the "game creator" feature in the XDK? Or is this a standard HTML5 or HTML5+Cordova app? Is your app an export from Construct2?

0 Kudos
Thibaut_P_
Beginner
627 Views

Hi,

Thanks for quick reply!

I'm not using construct2 or other libraries. It's a normal HTML5+cordova app with a lot of JPG files.

Before 3088, the build was ok with the same files.

With smaller app size (with the same files but just smaller in size) the build is ok.

Thibaut

0 Kudos
PaulF_IntelCorp
Employee
627 Views

There is a practical limit to the size of an app, the Google Play store will only accept apps up to 100MB in size. An APK is a ZIP file, but since you have mostly JPG files those assets won't compress very well, so the size of your www folder and files within will be a good indication of the size of your final APK.

0 Kudos
Thibaut_P_
Beginner
627 Views

Thank you but i don't build for an apk, i want an ipa for ios.

For ios, app can be larger than 100 mb (i have created a previous app with ~400 mb)

And also, previous version of xdk can generate ipa for ~270 mb...

0 Kudos
PaulF_IntelCorp
Employee
627 Views

Does it make a difference if you choose to use CLI 5.1.1 or CLI 5.4.1?

0 Kudos
Thibaut_P_
Beginner
627 Views

No, same problem with 5.1.1 or 5.4.1...

0 Kudos
PaulF_IntelCorp
Employee
627 Views

Thibaut -- I'll have to find out what the size limits are (if any) of the various bundles that are shipped to the build system. That part of the XDK changed dramatically with this release, so I wouldn't be surprised if there are different limitations regarding the size of the packages that can be pushed for builds.

0 Kudos
PaulF_IntelCorp
Employee
627 Views

Thibaut -- there is no size limit on the package sizes that are pushed to the build server (there currently is a limit of 350MB for Debug module builds). I spoke with the engineer in charge of that feature and he asked that we get a copy of your xdk.log file after the XDK crashes. You may get a copy of the log when it crashes, if not, you can find it (named xdk.log) in the main install directory. Paste it to your post using the "attach files to post" button.

0 Kudos
Thibaut_P_
Beginner
627 Views

Hi,

No size limit, it's a good news!

Please find attached the log.

Thank you !

0 Kudos
PaulF_IntelCorp
Employee
627 Views

Thanks, Thibaut -- I've provided the info to the engineer in charge.

0 Kudos
Thibaut_P_
Beginner
627 Views

Thank you.

I hope the update will be soon! :-)

 

0 Kudos
Michel_D_
Beginner
627 Views

I am having the exact same problem. Intel XDK is always crashing when I create a build. My game is about 230 MB. The game contains several .png files (more than 1500). 

0 Kudos
Michel_D_
Beginner
627 Views

Can you please help me? This is what I get from the logs. It was working fine before I update Intel XDK. Now it's always failing.

Node Webkit Error log:
[9320:0422/003548:INFO:CONSOLE(17)] ""xdk:client:[2016-04-22T04:35:48.162Z]: (1461299748162): Failed to load theme: xdk" {"code":"MODULE_NOT_FOUND"}", source: C:\Users\michel\AppData\Local\Intel\XDK\xdk\core-modules\private\logger.js (17)
[9320:0422/003603:INFO:CONSOLE(212)] ""NW proxy string: DIRECT"", source: /brackets.js (212)
[9320:0422/003603:INFO:CONSOLE(17)] ""client:build-tab:[2016-04-22T04:36:03.949Z]: (1461299763949): [refreshPage] Unable to generate project hash." {"message_":"Cannot generate app id without user identifiers","code_":null,"componentName_":null,"stack_":"Error\n    at Object.createXdkAppId (C:\\Users\\michel\\AppData\\Local\\Intel\\XDK\\xdk\\core-modules\\private\\service\\http-wrappers.js:17:543)\n    at Object.exports.generateProjectHash (file:///C:/Users/michel/AppData/Local/Intel/XDK/xdk/components/client/backend-service-utils/backend-service-utils.js:17:1574)\n    at _refreshPage (file:///C:/Users/michel/AppData/Local/Intel/XDK/xdk/components/client/build-tab/build-tab.js:17:6994)\n    at Object.start (file:///C:/Users/michel/AppData/Local/Intel/XDK/xdk/components/client/build-tab/build-tab.js:17:3869)\n    at resumeClientInit (C:\\Users\\michel\\AppData\\Local\\Intel\\XDK\\xdk\\core-modules\\private\\main.js:17:12040)\n    at C:\\Users\\michel\\AppData\\Local\\Intel\\XDK\\xdk\\core-modules\\private\\main.js:17:1734\n    at _fulfilled (C:\\Users\\michel\\AppData\\Local\\Intel\\XDK\\xdk\\node_modules\\q\\q.js:834:54)\n    at self.promiseDispatch.done (C:\\Users\\michel\\AppData\\Local\\Intel\\XDK\\xdk\\node_modules\\q\\q.js:863:30)\n    at Promise.promise.promiseDispatch (C:\\Users\\michel\\AppData\\Local\\Intel\\XDK\\xdk\\node_modules\\q\\q.js:796:13)\n    at C:\\Users\\michel\\AppData\\Local\\Intel\\XDK\\xdk\\node_modules\\q\\q.js:604:44","httpCode_":400}", source: C:\Users\michel\AppData\Local\Intel\XDK\xdk\core-modules\private\logger.js (17)
[9320:0422/003653:INFO:CONSOLE(17)] ""builds:[2016-04-22T04:36:53.550Z]: (1461299813550): Error building UI for: certificateId"", source: C:\Users\michel\AppData\Local\Intel\XDK\xdk\core-modules\private\logger.js (17)
[9320:0422/003733:INFO:CONSOLE(0)] "Refused to set unsafe header "Content-Length"", source: file:///C:/Users/michel/AppData/Local/Intel/XDK/xdk/public/index-node-webkit.html# (0)
[9320:0422/003736:INFO:CONSOLE(0)] "Refused to set unsafe header "Content-Length"", source: file:///C:/Users/michel/AppData/Local/Intel/XDK/xdk/public/index-node-webkit.html# (0)
[9320:0422/003737:ERROR:ipc_channel_reader.cc(65)] IPC message is too big
[9320:0422/003737:INFO:dispatcher_host.cc(157)] [NW.JS]RenderProcessGone
XDK exit code & signal: 258, null
Crash minidump not found in XDK data folder. Falling back to TEMP...

Crash minidump NOT FOUND.

NW Crash Detected.

0 Kudos
Michel_D_
Beginner
627 Views

Using Intel XDK 3240

0 Kudos
Thibaut_P_
Beginner
627 Views

intel xdk 3240 has the same problem...

0 Kudos
Swati_S_Intel1
Employee
627 Views

We have identified the issue with large files upload during build and we are working on the fix. We will update you when the fix is available.

0 Kudos
PaulF_IntelCorp
Employee
627 Views

Until that fix is available, you'll need to use 2893 to build large apps. The fix is expected in the next release. Releases are generally done in six week cadences, but we are not allowed to provide you with a date... add six weeks to the 3088 release notes date for an approximation.

0 Kudos
Reply