Dmitry Vyukov 6f298a18e5 pkg/csource: limit thread stacks
We always set RLIMIT_AS to 128MB. I've debugged a program with 21 syscalls.
With collide it creates 42 threads. With default stack size of 8MB this
requires: 42*8 = 336MB. Thread creation fails and nothing works.
Limit thread stacks the same way executor does.

Fixes #488
2017-12-22 11:59:46 +01:00
..
2017-10-19 10:45:27 +02:00
2017-06-17 14:41:15 +02:00
2017-12-22 11:59:46 +01:00
2017-06-17 17:06:29 +02:00
2017-11-17 14:17:47 +01:00
2017-09-04 20:25:22 +02:00
2017-12-18 09:50:17 +01:00
2017-09-28 16:53:58 +02:00
2017-11-27 15:09:30 +01:00
2017-08-09 10:24:34 +02:00