Ticket #1044 (reopened defect)
Allocation error when creating/killing many threads
|Reported by:||jlawrence||Owned by:|
|Component:||Runtime (threads, GC)||Version:||trunk|
(defun test (thread-count) (let ((threads (loop repeat thread-count collect (ccl:process-run-function "test" #'sleep 999)))) ;;(sleep 0.01) (mapc #'ccl:process-kill threads))) (defun run () (loop (test 10) (ccl:gc) (ccl:gc) (format t ".")))
Within 500 iterations,
Fatal error: : Kernel memory allocation failure. Can't allocate pointer of size 667648 bytes.
> Error: Can't create thread > While executing: CCL::NEW-TCR, in process listener(1).
- Status changed from closed to reopened
- Resolution invalid deleted
- Status changed from reopened to closed
- Resolution set to invalid
Note: See TracTickets for help on using tickets.