Failed to fork (Cannot allocate memory) if overcommit = 2
Submitted by Johannes Buchner
Link to original bug (#628465)
Description
I did:
- open a few pdfs
- open open dialog
- select another pdf
- click ok
I got:
- in the console:
** (evince:
<PID>
): WARNING **: Error launching evince file:///path/to/my.pdf: Failed to fork (Cannot allocate memory) - in the GUI: no feedback, doesn't open
I expected: a) the pdf to open b) the gui to tell me what is the issue
I suggest:
- not trying to hand over the already-open pdf to the forked process.
- giving the user feedback
I realize this is may problem may not occur when overcommit_memory is not set to 2 (disabled).