According to the Heroku docs (http://docs.heroku.com/slug-compiler), the git repository is not included in the slug.
I've had the same experience as Stephen - I'd specify gems in my Gemfile that would push the slug size up, and then remove them without any effect to the slug size. Then I could destroy the app, create a new one from the same git repository and wind up with a smaller slug size than I'd had before. On Oct 11, 11:52 pm, Keenan Brock <[email protected]> wrote: > Hi Stephen, > > If you checked in a gem into git > Then you deleted the gem from git. > Git still has the gem. > It is not showing up for today, but git log will show when you added it and > removed it. > > Guess I do not know if you are checking in your bundle dir and gems into git. > > 1. So are you saying your repo is 17mb, or your slug is 17mb? > > I'd imagine that the slug would be smaller on your change to the Gemfile. > But you stating that your slug is big suggests that maybe the .git directory > is included in the slug? > > The slug size does affect the speed in which a dyno is started / compiles / > restarts. > But I agree with Chris, I can't imagine it would slow it down too much. > > --Keenan > On Oct 12, 2010, at 12:48 AM, Chris Hanks wrote: > > > > > Yeah, this has happened to me before, too. I'm pretty sure the problem > > is on Heroku's end. > > > I don't worry that much about it, though, since the max slug size is > > 100 MB. > > > On Oct 11, 8:57 pm, stephen murdoch <[email protected]> > > wrote: > >> I have encountered a few strange problems with Heroku this evening. > > >> My repo size somehow managed to bloat to 17mb so I removed some gems > >> from my Gemfile (ran bundle install, git add Gemfile.lock etc etc) and > >> found that my repo was still 17mb. > > >> I removed all my gems (apart from rails and pg) and the repo didn't > >> get any smaller. My app is no bigger than 2mb. > > >> So I deleted my app (along with my .git and .bundle directories) and > >> created everything from scratch. > > >> This seemed to fix the problem, until just now, when I tried to remove > >> 4 large gems from my Gemfile and didn't see any change in the size of > >> my compiled slug on Heroku. > > >> Is this something that other people are experiencing? > > >> FWIW, I've tried everything I can think of, including removing > >> Gemfile.lock, .bundle etc etc > > > -- > > You received this message because you are subscribed to the Google Groups > > "Heroku" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
