Higher limit for package size #163
Replies: 6 comments 3 replies
-
I absolutely agree. There are a list of packages which I use that would be embeddable if the file size limit was larger. |
Beta Was this translation helpful? Give feedback.
-
Hi, Is there any package size limit to host packages in our internal feed as well?? What if the application I want to deploy is over a GB? |
Beta Was this translation helpful? Give feedback.
-
@chitrarthSahai There is not a limit built into Currently, There is likely a limit built into your internal feed. but that depends on what software you are using to host your feed and how it is configured. For example, most reverse proxies have a configuration option to limit the max upload and download sizes, which would put a limit on the size of a package. Or a limit may be built into the software providing your feed. In terms of what is practical however, I would generally suggest limiting your package sizes to about 1.5gb. Anything larger, and it can start to get a bit unreliable in my experience during the download of the package, and extracting the package take longer, and it can start to use up significant disk space. To get around this, I would suggest downloading large installers and other binaries from other internal sources. SMB share, S3, Wasabi, other private HTTP server, etc. Anything that would make the package over 1.5-2gb |
Beta Was this translation helpful? Give feedback.
-
I've just run into this with the imagemagick.tool package (see Discord discussion) |
Beta Was this translation helpful? Give feedback.
-
While I know this question has come up a few times, it's not quite as simple to resolve as it may seem. This is something that the Chocolatey Team have regularly spoken about, but it's not something that has been possible to progress. But it is something we know is needed, and it is not something we have forgotten about. Having said that, to manage expectations, this is unlikely to be resolved in the near future. |
Beta Was this translation helpful? Give feedback.
-
Nice, that's reassuring. Thanks.
…On Sat, Dec 17, 2022, 3:10 PM TheCakeIsNaOH ***@***.***> wrote:
@kirkpabk <https://github.com/kirkpabk> the 200mb limit is only in
reference to the Chocolatey Community Repository, and is applied
server-side.
I have many packages larger than 200mb on my internal Nexus server, going
up all the way to a bit over a gigabyte. As far as I am aware, there is no
explicit limit on package sizes within the current version of Chocolatey
CLI. However, due to the way Chocolatey installs packages, I would suggest
about 2gb to be the max size, and for anything over that have the binaries
be downloaded during the chocolateyInstall.ps1.
—
Reply to this email directly, view it on GitHub
<#163 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABORF4ABLRH2GU5T6KRIML3WNYM3PANCNFSM6AAAAAATCDOGII>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I think 200MB limit is too small in current day and age. It was introduced years ago and there was that gallery bug also with larger packages.
So
I think around 500MB would be good next limit, but even smaller changes would be beneficial, but not bellow 350MB IMO. Ideally 1 GB value would be nice for foreseeable future.
Originally posted by @majkinetor in #48 (comment)
Beta Was this translation helpful? Give feedback.
All reactions