3 ms·
I really hate it when people do that and don’t provide a way to disable it. There are a number of python libraries I can’t install on my laptop easily because
by swiley 7y ago
I really hate it when people do that and don’t provide a way to disable it.
There are a number of python libraries I can’t install on my laptop easily because the native code runs out of physical (4GB!) memory spawning compiler jobs and everything starts thrashing, it’s just dumb to go forking without asking the user first. People who really want it can give make the -j flag.
- alfalfasprout 7y agoBazel is the worst at this. When you try to eg; build tensorflow from source it maxes out all the cores, uses up as much memory as it can, and then crashes when the OOM killer eventually kills it. This is even on a 64GB 64 core machine. Manually specifying resources doesn't work well either because it uses 2x+ the resources you allocate it.
- stassats 7y agoYou can do "taskset --cpu-list 0 make -j"