environment is too large for exec
Satish Balay
balay@fastmail.fm
Thu Mar 5 10:40:00 GMT 2020
On Wed, 4 Mar 2020, Andrey Repin wrote:
> Greetings, Satish Balay!
>
> > I'm seeing the following error from cygwin:
>
> > "environment is too large for exec"
>
> > I can try reducing the env - however - is there an option in cygwin to increase the current 'max env'?
>
> As far as I recall, this is an OS limit.
Ah so that can't be changed. Thanks for the info.
> Most often this is caused by an overgrown %PATH% variable. Inspect it and
> cleanup from stuff unused/unnecessary. There's many ways to make executables
> visible without adding them to %PATH%.
In this case - it was gitlab-runner setting up an env var with the commit message - this was long.
Satish
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list