Uploaded application size has exceeded the limit: 1074377551 > 1073741824

140 views
Skip to first unread message

Arda Çebi

unread,
Mar 30, 2018, 3:54:43 PM3/30/18
to App Inventor Open Source Development
Hello,

I've been seeing this issue for a long time now and I'm not able to deploy it to my test server.

Here is the terminal output:

Reading application configuration data...
Mar 30, 2018 10:24:03 PM com.google.apphosting.utils.config.IndexesXmlReader readConfigXml
INFORMAZIONI
: Successfully processed appinventor-sources/appinventor/appengine/build/war/WEB-INF/appengine-generated/datastore-indexes-auto.xml


Beginning interaction for module default...
0% Created staging directory at: '/var/folders/tl/xg6yl0_556d6tv4zqgjfzyqh0000gn/T/appcfg5481352035620723327.tmp'
5% Warning: Google App Engine Java 7 runtime is deprecated.
8% Warning: See https://cloud.google.com/appengine/docs/deprecations/java7
11% Scanning for jsp files.
13% Compiling jsp files.
warning
: [options] bootstrap class path not set in conjunction with -source 1.7
14% Generated git repository information file.
20% Scanning files on local disk.
25% Scanned 250 files.
28% Scanned 500 files.
31% Scanned 750 files.
33% Scanned 1000 files.
34% Scanned 1250 files.
35% Scanned 1500 files.
36% Scanned 1750 files.
37% Scanned 2000 files.
37% Scanned 2250 files.
37% Scanned 2500 files.
37% Scanned 2750 files.
37% Scanned 3000 files.
37% Scanned 3250 files.
37% Scanned 3500 files.
37% Scanned 3750 files.
37% Scanned 4000 files.
37% Scanned 4250 files.
37% Initiating update.
37% Cloning 314 static files.
37% Cloning 4087 application files.
37% Cloned 2000 files.
37% Cloned 4000 files.
40% Uploading 1078 files.
52% Sending batch containing 100 file(s) totaling 406KB.
Mar 30, 2018 10:26:14 PM com.google.appengine.tools.admin.AbstractServerConnection sendBatchPayload
AVVERTENZA
: Error posting to URL: https://appengine.google.com/api/appversion/addfiles?=&app_id=remedy-builder&version=1&
500 Internal Server Error
<html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"><title>500 Server Error</title></head><body text=#000000 bgcolor=#ffffff><h1>Error: Server Error</h1><h2>The server encountered an error and could not complete your request.<p>Please try again in 30 seconds.</h2><h2></h2></body></html>
This is try #0
61% Sending batch containing 100 file(s) totaling 1204KB.
68% Uploaded 269 files.
73% Sending batch containing 100 file(s) totaling 434KB.
77% Sending batch containing 100 file(s) totaling 404KB.
80% Sending batch containing 100 file(s) totaling 307KB.
82% Uploaded 538 files.
84% Sending batch containing 100 file(s) totaling 322KB.
85% Sending batch containing 100 file(s) totaling 310KB.
86% Sending batch containing 100 file(s) totaling 321KB.
87% Uploaded 807 files.

Mar 30, 2018 10:49:43 PM com.google.appengine.tools.admin.AbstractServerConnection send1
AVVERTENZA
: Error posting to URL: https://appengine.google.com/api/appversion/addfile?path=ode%2FBC1938B6F564FA545E7F1309F3337CD4.cache.js&app_id=remedy-builder&version=1&
400 Bad Request
See https://developers.google.com/appengine/docs/quotas#Code : Uploaded application size has exceeded the limit: 1074377551 > 1073741824
This is try #0
Mar 30, 2018 10:49:58 PM com.google.appengine.tools.admin.AbstractServerConnection send1
AVVERTENZA
: Error posting to URL: https://appengine.google.com/api/appversion/addfile?path=ode%2FBC1938B6F564FA545E7F1309F3337CD4.cache.js&app_id=remedy-builder&version=1&
400 Bad Request
See https://developers.google.com/appengine/docs/quotas#Code : Uploaded application size has exceeded the limit: 1074377551 > 1073741824
This is try #1
Mar 30, 2018 10:50:13 PM com.google.appengine.tools.admin.AbstractServerConnection send1
AVVERTENZA
: Error posting to URL: https://appengine.google.com/api/appversion/addfile?path=ode%2FBC1938B6F564FA545E7F1309F3337CD4.cache.js&app_id=remedy-builder&version=1&
400 Bad Request
See https://developers.google.com/appengine/docs/quotas#Code : Uploaded application size has exceeded the limit: 1074377551 > 1073741824
This is try #2
Mar 30, 2018 10:50:28 PM com.google.appengine.tools.admin.AbstractServerConnection send1
AVVERTENZA
: Error posting to URL: https://appengine.google.com/api/appversion/addfile?path=ode%2FBC1938B6F564FA545E7F1309F3337CD4.cache.js&app_id=remedy-builder&version=1&
400 Bad Request
See https://developers.google.com/appengine/docs/quotas#Code : Uploaded application size has exceeded the limit: 1074377551 > 1073741824
This is try #3
87% Rolling back the update.

Error Details:
Mar 30, 2018 10:24:45 PM org.apache.jasper.JspC processFile
INFORMAZIONI
: Built File: /login.jsp


com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https:/
/appengine.google.com/api/appversion/addfile?path=ode%2FBC1938B6F564FA545E7F1309F3337CD4.cache.js&app_id=remedy-builder&version=1&
400 Bad Request
See https://developers.google.com/appengine/docs/quotas#Code : Uploaded application size has exceeded the limit: 1074377551 > 1073741824

Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/addfile?path=ode%2FBC1938B6F564FA545E7F1309F3337CD4.cache.js&app_id=remedy-builder&version=1&
400 Bad Request
See https://developers.google.com/appengine/docs/quotas#Code : Uploaded application size has exceeded the limit: 1074377551 > 1073741824

Please see the logs [/var/folders/tl/xg6yl0_556d6tv4zqgjfzyqh0000gn/T/appcfg8098427721934462341.log] for further information.

Any idea how can I resolve this issue? or why is it hapenning?

Because I haven't uploaded anything big in size, still don't understand why is this happening.

Arda Çebi

unread,
Mar 30, 2018, 4:22:26 PM3/30/18
to App Inventor Open Source Development

I have only 1 version deployed on App Engine right now and its size is around 300MBs.

Arda Çebi

unread,
Mar 31, 2018, 1:13:28 PM3/31/18
to App Inventor Open Source Development
Anyone?


Il giorno venerdì 30 marzo 2018 22:54:43 UTC+3, Arda Çebi ha scritto:

Jeffrey Schiller

unread,
Mar 31, 2018, 10:22:07 PM3/31/18
to App Inventor Open Source Development
Can you deploy our master branch?

-Jeff

Arda Çebi

unread,
Apr 3, 2018, 3:29:58 PM4/3/18
to App Inventor Open Source Development
Trying it now.

Arda Çebi

unread,
Apr 3, 2018, 3:45:02 PM4/3/18
to App Inventor Open Source Development
Nope, no luck for it.

Its happening because of the already-uploaded app on GAE. I need to delete that somehow.

Do you know how can I deploy a blank app to GAE?

So after I deploy that, I can delete the other and deploy the new builder.


Il giorno venerdì 30 marzo 2018 22:54:43 UTC+3, Arda Çebi ha scritto:

Arda Çebi

unread,
Apr 4, 2018, 3:36:25 PM4/4/18
to App Inventor Open Source Development
Anyone?


Il giorno venerdì 30 marzo 2018 22:54:43 UTC+3, Arda Çebi ha scritto:

Jeffrey Schiller

unread,
Apr 4, 2018, 3:58:01 PM4/4/18
to app-inventor-o...@googlegroups.com
How many versions of your app are currently uploaded to app engine? If there are more then the immediately previous version, delete the older versions.

-Jeff 

--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-so...@googlegroups.com.
To post to this group, send email to app-inventor-o...@googlegroups.com.
Visit this group at https://groups.google.com/group/app-inventor-open-source-dev.
For more options, visit https://groups.google.com/d/optout.

Arda Çebi

unread,
Apr 4, 2018, 5:45:12 PM4/4/18
to App Inventor Open Source Development
Hi Jeff,

Only 1. That's the reason I'm asking this question.

I haven't uploaded anything big in size. Its nearly the same as the source on GitHub. Only some CSS changes, component icon and logo changes.

P.S: Component icons and logos (assets) are the same size as stock assets.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-source-dev+unsub...@googlegroups.com.

Evan Patton

unread,
Apr 5, 2018, 4:43:36 PM4/5/18
to App Inventor Open Source Development
1 GB is a pretty big threshold. What is the output of du -sh on appengine/build/war? Are things ending up in there that shouldn't be? Did you do an ant clean immediately before building?

Regards,
Evan

Arda Çebi

unread,
Apr 5, 2018, 5:27:28 PM4/5/18
to App Inventor Open Source Development
Hi Evan,

Thank you for responding.

The problem was not doing "ant clean" before building. I'm now trying that. After it finishes building, I'll try deploying and tell you what will happen. I'm pretty sure I don't have another problem.
Message has been deleted

Arda Çebi

unread,
Apr 6, 2018, 11:39:22 AM4/6/18
to App Inventor Open Source Development
Nope, ant clean is not the solution.


Il giorno giovedì 5 aprile 2018 23:43:36 UTC+3, Evan Patton ha scritto:

Evan Patton

unread,
Apr 6, 2018, 2:10:16 PM4/6/18
to App Inventor Open Source Development
What is the answer to the first part of my post about the size of appengine/build/war? An ant clean means nothing if you are copying a 1 GB image into your build directory, for example.

Evan

Arda Çebi

unread,
Apr 8, 2018, 4:09:44 PM4/8/18
to App Inventor Open Source Development

du -sh appengine/build/war outputs 391M



Arda Çebi

unread,
Apr 8, 2018, 4:10:52 PM4/8/18
to App Inventor Open Source Development
I get that result after performing a regular ant build. Not ant clean.

Evan Patton

unread,
Apr 9, 2018, 11:47:48 AM4/9/18
to App Inventor Open Source Development
That's over 4 times as large as when I build App Inventor (91 MB). It's still unclear to me how Google is coming up with 1 GB when your compiled project is only 391 MB, possibly from unpacking the jar files. Have you tried compiling with optimizations turned on?

Regards,
Evan

Arda Çebi

unread,
Apr 12, 2018, 9:38:35 AM4/12/18
to App Inventor Open Source Development

How can I compile with optimizations?

Evan Patton

unread,
Apr 13, 2018, 3:31:34 PM4/13/18
to App Inventor Open Source Development
To compile with optimizations:

1. Change the "mode" key in buildserver/plovrConfig.js to "SIMPLE" from "RAW"
2. In YaClientApp target in appengine/build.xml, change "-style pretty" to "-optimize 9"

Then compare the output of du -sh appengine/build/war with the values you previously reported. You should see an appreciable decrease in size.

Evan

Arda Çebi

unread,
Apr 14, 2018, 5:34:40 PM4/14/18
to App Inventor Open Source Development
Hi Evan,

I changed -style pretty to -optimize 9 but I was not able find plovrConfig.js file in my buildserver file. Do you know where is it? I searched the whole source folder but I was not able to find anything.

Thank you for your help again.

Jose Dominguez

unread,
Apr 15, 2018, 12:06:13 PM4/15/18
to app-inventor-open-source-dev
I believe the file name is missing an 'e', it is ploverConfig.js https://github.com/mit-cml/appinventor-sources/blob/master/appinventor/blocklyeditor/ploverConfig.js


cheers,
José


To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-source-dev+unsubs...@googlegroups.com.

To post to this group, send email to app-inventor-o...@googlegroups.com.
Visit this group at https://groups.google.com/group/app-inventor-open-source-dev.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-source-dev+unsub...@googlegroups.com.
To post to this group, send email to app-inventor-open-source-dev@googlegroups.com.

Arda Çebi

unread,
Apr 15, 2018, 12:17:27 PM4/15/18
to App Inventor Open Source Development
 Hi José,

Thank you. Found the file and edited the line. I'm building now. I will notify both of you if I encounter any other error.

Thank you again for your time and help.

Arda Çebi

unread,
Apr 15, 2018, 2:23:38 PM4/15/18
to App Inventor Open Source Development
Output was: 294M    appengine/build/war

cheers,
José


To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-source-dev+unsub...@googlegroups.com.
To post to this group, send email to app-inventor-o...@googlegroups.com.
Visit this group at https://groups.google.com/group/app-inventor-open-source-dev.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-source-dev+unsub...@googlegroups.com.

Arda Çebi

unread,
Apr 15, 2018, 5:36:35 PM4/15/18
to App Inventor Open Source Development
 I deployed successfully. Thank you guys for your help. 294M was enough.

Evan W. Patton

unread,
Apr 16, 2018, 8:35:54 AM4/16/18
to app-inventor-o...@googlegroups.com
It's good that you found a solution. That still seems rather large to me, however, and is more than 3x my build size. You should really audit your branch and look for places to optimize your web assets.

Regards,
Evan
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-so...@googlegroups.com.

Arda Çebi

unread,
Apr 16, 2018, 10:31:13 AM4/16/18
to App Inventor Open Source Development
Hi Evan,

I know that the size is so big. I don't know why. I haven't uploaded anything big in size compared to the original source. Only replaced component icons, and other assets. Wonder why its that big.
Reply all
Reply to author
Forward
0 new messages