Don't know the reason behind this, but this is how we unset it:
#
# Remove /STACK:10000000 set by CMake. This value for stack size
# is very high, limiting the number of threads we can spawn.
# Default value used by Windows is 1MB which is good enough.
#
STRING(REGEX REPLACE "/STACK:[0-9]+" ""
CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}")
On Sun, Apr 12, 2009 at 2:48 AM, Christian Ehrlicher
<[email protected]> wrote:
> Hi,
>
> I don't understand the reason behind this. We've a very huge memory
> footprint because of this on kde4/windows - kded4.exe has ~30 Threads
> which means 300MB of stack!
>
> Is there an easy way to change this?
>
>
> Thx,
> Christian
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake