10mb deploy size limit

214 views
Skip to first unread message

Phil McDonnell

unread,
Aug 1, 2012, 6:24:22 PM8/1/12
to google-a...@googlegroups.com
Does anyone know what is counted in the size limit for deploying? It would seem my war and src directories are counted. Are jars counted too? Are they compressed? I'm trying to trim the size of my project, but I'm not entirely sure why it's too big.

I assume there is no way to expand this limit?

Thanks,
Phil

Phil McDonnell

unread,
Aug 1, 2012, 8:00:39 PM8/1/12
to google-a...@googlegroups.com
Did something recently change here?  I've been trimming the fat from my app for half the afternoon and I'm still not there.  This wasn't an issue for my team as of yesterday. Any ideas what could be happening? Any ideas on debugging it? Are other seeing this?

Thanks,
Phil

Richard Watson

unread,
Aug 2, 2012, 1:39:14 AM8/2/12
to google-a...@googlegroups.com
That size limit would be for a single file, not the whole app.  Are you deploying via ant or eclipse?  Try deploying to a different test app and see if you hit the same issues.


On Thursday, August 2, 2012 2:00:39 AM UTC+2, Phil wrote:
Did something recently change here?  I've been trimming the fat from my app for half the afternoon and I'm still not there.  This wasn't an issue for my team as of yesterday. Any ideas what could be happening? Any ideas on debugging it? Are other seeing this?

Thanks,
Phil

Phil McDonnell

unread,
Aug 2, 2012, 12:57:19 PM8/2/12
to google-a...@googlegroups.com
From previous discussions here, I'm pretty sure 10MB is the code size limit for the whole code app, not just for a single file.  I think people normally run into this as a problem when they upload data files as part of their war directory, but I'm not doing that here.  Also, this seems to be pretty different than what was happening a day ago. Are the restrictions different when deploying from eclipse or ant?  How does one deploy from ant?

I'm looking for an explanation from someone who knows what files are counted towards this 10MB limit and where these files live (class directories, the entire war, etc?). It looks like we're only getting through about 300 of 525 application files so we're not even close.  This has worked for a year previously. See below for the console output from eclipse.

Thanks,
Phil

------------ Deploying frontend ------------

Preparing to deploy:
Created staging directory at: 'C:\Users\LOCAL~1.ADM\AppData\Local\Temp\appcfg1953522436737383216.tmp'
Scanning for jsp files.
Compiling jsp files.
Scanning files on local disk.
Scanned 250 files.
Scanned 500 files.
Initiating update.
Cloning 62 static files.
Cloning 525 application files.
Cloned 100 files.
Cloned 200 files.
Cloned 300 files.
on backend null.
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/clonefiles?app_id=coupflipsite&version=9&
400 Bad Request
See https://developers.google.com/appengine/docs/quotas#Code : Uploaded application size has exceeded the limit: 1074329404 > 1073741824

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/-fW043HNIp8J.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Andrei Volgin

unread,
Aug 2, 2012, 2:03:56 PM8/2/12
to google-a...@googlegroups.com
Phil,

Your record shows that you exceeded 1GB limit (1073741824 bytes), not 10MB.

Christina Ilvento

unread,
Aug 2, 2012, 2:19:11 PM8/2/12
to google-a...@googlegroups.com
Hi All,

This is likely due to the 1GB of code and static files quota for all versions -- try deleting an older version of your app if you are hitting this limit consistently to free up some space. In a future release, we plan to allow applications to pay for additional code and static files storage beyond the current 1GB limit. If you're still having a problem, please contact me directly with your app-id.


Thanks,
Christina

On Thu, Aug 2, 2012 at 11:03 AM, Andrei Volgin <vol...@spiraluniverse.com> wrote:
Phil,

Your record shows that you exceeded 1GB limit (1073741824 bytes), not 10MB.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/_1QJBWIITmoJ.

Phil McDonnell

unread,
Aug 2, 2012, 2:26:16 PM8/2/12
to google-a...@googlegroups.com
Christina, Andrei,

You guys are life savers. Thank you so much! As you identified, I was simply looking at this wrong because I misread the error message and thought I hit the 10MB limit for a single code version (maybe the 10MB limit doesn't even exist these days?).  Anyhow, we definitely do have several versions out there that we've used for testing.  I will zap those and get it back deploying. 

Thanks again for your help!
Phil
Reply all
Reply to author
Forward
0 new messages