Page MenuHomePhabricator

'Cannot allocate memory' when viewing large diffs
Closed, ResolvedPublic

Asked by hjiang on Aug 21 2015, 1:01 PM.

Details

One of my commits has some large generated files (a few thousand lines). When viewing it on Differential, the error 'Failed to proc_open(): proc_open(): fork failed - Cannot allocate memory' was shown on the web interface.

Can anyone give some pointers?

Answers

sshannin
Updated 3,169 Days Ago

In this case, I think you can set differential.generated-paths to make it not show the files.

Not sure what to suggest if you want to actually see the diff though.

ox
Updated 3,169 Days Ago

You could try increasing your PHP memory limit to something larger than what it's set to now.

Your system might also be memory constrained and not actually have enough memory to allocate for the task. In that case you should try to add more RAM, whatever that means for your setup.

This answer has been hidden.

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.