If you run "sbt stage" on your project it will copy all of the deps to
the target/staged dir. For a Java Play 2 project that dir is 32MB for
me. I'm not sure what else could be taking up 18MB. But your 49MB
isn't too far off of the base Play 2 deps. Maybe there are more copies
of deps laying around somewhere.
-James
On 04/08/2012 04:20 PM, Or Gal wrote:
hi James,
I managed to reduce slug from 79 to 49 by removing ivy cache. but isnt
that still a pretty big slug for a simple hello world? is there a way to
reduce it more? thanks
On Friday, December 23, 2011 9:02:08 PM UTC+2, James Ward wrote:
That definitely seems larger than it should be. You can bash into a
dyno to see what is in there:
heroku run bash
If that doesn't get you anywhere you should submit a support ticket.
BTW: Today .slugignore applies pre-compile. So in this case it's
probably not going to help you reduce slug size.
-James
On 12/17/2011 09:27 AM, stephanos wrote:
> I recently deployed my first Scala app (sbt) on Heroku and I was
> surprised when I saw the slug size: ~70 MB.
> The odd thing is that when I run the "stage" command locally the
size is
> only about ~40MB.
>
> I already tried tweaking my .slugignore
> <https://gist.github.com/1490644
<https://gist.github.com/1490644>> - without any real success...
>
> Any ideas where the difference might come from ?
>
>
> Cheers,
> Stephan
>
> --
> You received this message because you are subscribed to the Google
> Groups "Heroku" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/heroku/-/U_GiBUlS38EJ
<https://groups.google.com/d/msg/heroku/-/U_GiBUlS38EJ>.
> To post to this group, send email to heroku@googlegroups.com
<mailto:heroku@googlegroups.com>.
> To unsubscribe from this group, send email to
> heroku+unsubscr...@googlegroups.com
<mailto:heroku%2bunsubscr...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en
<http://groups.google.com/group/heroku?hl=en>.
--
You received this message because you are subscribed to the Google
Groups "Heroku" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/heroku/-/RFXcxRrtIoIJ.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at
http://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 heroku@googlegroups.com.
To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en.