From 78f8ea1a7e693c5efdf37bae661c83e637119cd6 Mon Sep 17 00:00:00 2001 From: snn Date: Thu, 5 Nov 2020 13:47:59 +0300 Subject: [PATCH] DR-1225 Too many threads --- src/SelectMgr/SelectMgr_BVHThreadPool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SelectMgr/SelectMgr_BVHThreadPool.cxx b/src/SelectMgr/SelectMgr_BVHThreadPool.cxx index 9f4da57fd9..faaef77d67 100644 --- a/src/SelectMgr/SelectMgr_BVHThreadPool.cxx +++ b/src/SelectMgr/SelectMgr_BVHThreadPool.cxx @@ -13,7 +13,7 @@ SelectMgr_BVHThreadPool::SelectMgr_BVHThreadPool (Standard_Integer theNbThreads) myIdleEvent(Standard_True), myIsStarted(Standard_False) { - Standard_Integer aBVHThreadsNum = theNbThreads > 0 ? theNbThreads : OSD_Parallel::NbLogicalProcessors() > 1 ? OSD_Parallel::NbLogicalProcessors() - 1 : 1; + Standard_Integer aBVHThreadsNum = 1; //theNbThreads > 0 ? theNbThreads : OSD_Parallel::NbLogicalProcessors() > 1 ? OSD_Parallel::NbLogicalProcessors() - 1 : 1; myBVHThreads = NCollection_Array1(1, aBVHThreadsNum); myBVHBuildData = NCollection_Array1(1, aBVHThreadsNum); -- 2.39.5