Skip to content

App gets stuck with message "The output from the command could not fit into the allocated stdout buffer. Set options.maxBuffer to a larger value than nnn bytes", after I added 300k files to a folder inside the repository. #3309

Closed

Description

@Luis-Fernando-Molina

I have a repository for a web site with a few dozens java-script files plus a couple of folders with data files to be consumed by the site. There is a batch process generating these files over time at a rate of a couple hundred per minute. Since the process started and generated the first day of files, when I open the Github desktop app (which previously worked just fine), this message appears and re appears when you hit CLOSE.

Besides the message not being clear on how to work around a solution to it, the APP gets stuck there, which for me it is clearly a bug, no matter if the message comes from dependencies as I read on similar cases.

The exact message I receive is this:

"The output from the command could not fit into the allocated stdout buffer. Set options.maxBuffer to a larger value than 10485760 bytes"

The files are average 100k each.

Version

GitHub Desktop version: 1.0.8

OS version: Microsoft Windows [Version 10.0.15063]

Steps to Reproduce

  1. Setup a repository in a normal way, open it with Github Desktop, uploaded to Github. (this is what I did, maybe not necessary)
  2. Generate 300,000 text files in a sub folder of around 100k each.
  3. Boom! you should have the problem.

Expected behavior: To work normally, meaning not appearing any message and just digesting the 300K files.

Actual behavior: A message box appears, and re appears after the CLOSE button is pressed, looping forever there.

Reproduces how often: Every-time.

Logs

Todays log file content>

2017-11-12T13:36:54.942Z - info: [ui] [AppStore] loading 2 repositories from store
2017-11-12T13:36:54.945Z - info: [ui] [AppStore] found account: Luis-Fernando-Molina (Luis Fernando Molina)
2017-11-12T13:36:55.584Z - info: [ui] launching: 1.0.8 (Windows 10.0.15063)
2017-11-12T13:36:56.538Z - info: [ui] Stats reported.
2017-11-12T13:36:58.801Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.852s)
2017-11-12T13:36:59.279Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.691s)
2017-11-12T13:37:02.449Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.312s)
2017-11-12T13:37:03.685Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.182s)
2017-11-12T13:37:07.009Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.323s)
2017-11-12T13:37:46.393Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.119s)
2017-11-12T13:37:56.911Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.489s)
2017-11-12T13:37:59.548Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.134s)
2017-11-12T13:42:34.608Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.239s)
2017-11-12T13:42:37.916Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.308s)
2017-11-12T13:48:05.696Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.142s)
2017-11-12T13:48:08.859Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.164s)
2017-11-12T13:53:38.814Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.103s)
2017-11-12T13:53:41.980Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.166s)
2017-11-12T13:59:09.654Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.047s)
2017-11-12T13:59:12.727Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.074s)
2017-11-12T14:04:40.470Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.088s)
2017-11-12T14:04:43.659Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.189s)
2017-11-12T14:10:11.333Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.059s)
2017-11-12T14:10:14.510Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.177s)
2017-11-12T14:15:42.260Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.143s)
2017-11-12T14:15:45.429Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.170s)
2017-11-12T14:21:13.323Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.254s)
2017-11-12T14:21:16.435Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.112s)
2017-11-12T14:26:44.100Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.046s)
2017-11-12T14:26:47.291Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.190s)
2017-11-12T14:32:14.927Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.005s)
2017-11-12T14:32:18.043Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.117s)
2017-11-12T14:37:45.731Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.054s)
2017-11-12T14:37:48.853Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.123s)
2017-11-12T14:43:16.941Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.195s)
2017-11-12T14:43:20.161Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.220s)
2017-11-12T14:48:48.052Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.273s)
2017-11-12T14:48:51.186Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.135s)
2017-11-12T14:54:19.134Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.265s)
2017-11-12T14:54:22.236Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.103s)
2017-11-12T14:59:49.924Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.046s)
2017-11-12T14:59:53.181Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.257s)
2017-11-12T15:05:21.132Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.002s)
2017-11-12T15:05:24.369Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.237s)
2017-11-12T15:10:52.297Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.227s)
2017-11-12T15:10:56.487Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 4.190s)
2017-11-12T15:16:24.116Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.050s)
2017-11-12T15:16:27.335Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.219s)
2017-11-12T15:21:55.167Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.214s)
2017-11-12T15:21:58.882Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.714s)
2017-11-12T15:27:26.533Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.058s)
2017-11-12T15:27:29.703Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.170s)
2017-11-12T15:32:57.360Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.035s)
2017-11-12T15:33:00.927Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.568s)
2017-11-12T15:38:29.008Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.434s)
2017-11-12T15:38:32.272Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.265s)
2017-11-12T15:43:59.902Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.006s)
2017-11-12T15:44:03.444Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.543s)
2017-11-12T15:49:31.124Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.043s)
2017-11-12T15:49:34.355Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.232s)
2017-11-12T15:55:02.757Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.780s)
2017-11-12T15:55:06.244Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.488s)
2017-11-12T16:00:33.893Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.019s)
2017-11-12T16:00:37.156Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.264s)
2017-11-12T16:06:06.115Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 2.376s)
2017-11-12T16:06:09.470Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.355s)
2017-11-12T16:11:37.140Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.066s)
2017-11-12T16:11:40.361Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.221s)
2017-11-12T16:17:07.978Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.019s)
2017-11-12T16:17:11.215Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.237s)
2017-11-12T16:22:38.882Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.048s)
2017-11-12T16:22:42.224Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.342s)
2017-11-12T16:28:09.906Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.081s)
2017-11-12T16:28:13.133Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.228s)
2017-11-12T16:33:40.982Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.219s)
2017-11-12T16:33:44.185Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.203s)
2017-11-12T16:39:12.092Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.274s)
2017-11-12T16:39:15.328Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.237s)
2017-11-12T16:44:43.009Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.049s)
2017-11-12T16:44:46.237Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.230s)
2017-11-12T16:50:14.059Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.220s)
2017-11-12T16:50:17.611Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.554s)
2017-11-12T16:55:45.321Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.042s)
2017-11-12T16:55:48.689Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.369s)
2017-11-12T17:01:16.373Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.057s)
2017-11-12T17:01:19.640Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.268s)
2017-11-12T17:06:47.335Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.047s)
2017-11-12T17:06:50.620Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.285s)
2017-11-12T17:12:18.323Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.004s)
2017-11-12T17:12:21.628Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.304s)
2017-11-12T17:17:49.255Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.023s)
2017-11-12T17:17:52.617Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.362s)
2017-11-12T17:23:20.488Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.101s)
2017-11-12T17:23:23.901Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.414s)
2017-11-12T17:28:51.643Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.147s)
2017-11-12T17:28:55.429Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.786s)
2017-11-12T17:34:23.060Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.012s)
2017-11-12T17:34:26.426Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.367s)
2017-11-12T17:39:54.240Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.171s)
2017-11-12T17:39:58.024Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.784s)
2017-11-12T17:45:25.671Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.063s)
2017-11-12T17:45:28.999Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.328s)
2017-11-12T17:50:56.703Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.119s)
2017-11-12T17:51:00.412Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.710s)
2017-11-12T17:53:53.649Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.385s)
2017-11-12T17:54:18.571Z - info: [ui] [AppStore] loading 2 repositories from store
2017-11-12T17:54:18.573Z - info: [ui] [AppStore] found account: Luis-Fernando-Molina (Luis Fernando Molina)
2017-11-12T17:54:19.099Z - info: [ui] launching: 1.0.8 (Windows 10.0.15063)
2017-11-12T17:54:22.433Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.851s)
2017-11-12T17:54:23.180Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 4.076s)
2017-11-12T17:54:37.851Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.011s)
2017-11-12T17:54:41.243Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.391s)
2017-11-12T17:54:54.991Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.862s)
2017-11-12T17:59:57.184Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.094s)
2017-11-12T18:00:00.990Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.807s)
2017-11-12T18:03:34.024Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.269s)
2017-11-12T18:05:00.022Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.531s)
2017-11-12T18:05:16.861Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.028s)
2017-11-12T18:05:20.173Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.311s)
2017-11-12T18:05:53.336Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.504s)
2017-11-12T18:06:42.400Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.330s)
2017-11-12T18:08:31.464Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.344s)
2017-11-12T18:09:25.258Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.257s)
2017-11-12T18:10:36.083Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.060s)
2017-11-12T18:10:39.609Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.525s)
2017-11-12T18:13:33.716Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.380s)
2017-11-12T18:15:55.626Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.194s)
2017-11-12T18:15:59.374Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.748s)
2017-11-12T18:16:02.577Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.658s)
2017-11-12T18:19:57.705Z - info: [ui] [AppStore] loading 2 repositories from store
2017-11-12T18:19:57.706Z - info: [ui] [AppStore] found account: Luis-Fernando-Molina (Luis Fernando Molina)
2017-11-12T18:19:58.160Z - info: [ui] launching: 1.0.8 (Windows 10.0.15063)
2017-11-12T18:20:01.422Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.710s)
2017-11-12T18:20:01.902Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.736s)
2017-11-12T18:20:14.641Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.606s)
2017-11-12T18:20:19.102Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 4.460s)
2017-11-12T18:22:29.371Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.482s)
2017-11-12T18:25:32.297Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.109s)
2017-11-12T18:25:35.912Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.615s)

Additional Information

image

Activity

  1. changed the title [-]App gets stuck with message "The output from the command could not fit into the allocated stdout buffer. Set options.maxBuffer to a larger value than nnn bytes", when files are constantly added to the repository.[/-] [+]App gets stuck with message "The output from the command could not fit into the allocated stdout buffer. Set options.maxBuffer to a larger value than nnn bytes", when files you add 300k files to the repository.[/+] on Nov 12, 2017
  2. changed the title [-]App gets stuck with message "The output from the command could not fit into the allocated stdout buffer. Set options.maxBuffer to a larger value than nnn bytes", when files you add 300k files to the repository.[/-] [+]App gets stuck with message "The output from the command could not fit into the allocated stdout buffer. Set options.maxBuffer to a larger value than nnn bytes", after I added 300k files to a folder inside the repository.[/+] on Nov 12, 2017
  3. joshaber commented on Nov 13, 2017

    @joshaber
    Contributor

    Thanks @Luis-Fernando-Molina! That looks like a known issue we're already tracking in #2449. Feel free to follow along over there!

  4. locked as resolved and limited conversation to collaborators on Jul 19, 2018
  5. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions