Please clarify what you mean by "embedded an empty 100MB file". What
does "empty" mean and how did you "embed" it? Can you show us an example of
what you're trying to do (obviously replacing the 100MB of "empty" with a
placeholder).

On Thu, Dec 15, 2022 at 10:58 AM Aurora <aurora136...@gmail.com> wrote:

> I've embedded an empty 100MB file in my Go code, for some testing purposes.
> When I run 'go build', the binary output would be something around 20MB.
>
> I want the output binary to be more than 100MB, its real size.
>
> How's this compression being applied to the binary?
> How to disable all such optimisations?
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/344ddfba-aea4-4631-b283-202a967f4b02n%40googlegroups.com
> <https://groups.google.com/d/msgid/golang-nuts/344ddfba-aea4-4631-b283-202a967f4b02n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD_o6PrEa4mDzfyGmGEBbfvaYUJ3EV3mJf1YKh01njGhhw%40mail.gmail.com.

Reply via email to