View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011913 | CMake | CMake | public | 2011-03-01 08:53 | 2016-06-10 14:31 | ||||
Reporter | Brendan Wilson | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Intel Pentium D w/ 4GB memory | OS | Windows 7 Home Premium | OS Version | 32-bit | ||||
Product Version | CMake 2.8.4 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0011913: Cmake default settings for CXX compiler causes out of heap space errors in large and complex projects for VS2010 | ||||||||
Description | When building large and complex projects in Visual Studio 10 Cmake's default setting of /Zm1000 in Windows-cl.cmake causes 'error 1060: out of heap space' for systems that have 4GB or less of system memory. | ||||||||
Steps To Reproduce | on a 32-bit system with 4GB of memory follow the steps in the following page to set up and autobuild envionment. Instructions: http://wiki.secondlife.com/wiki/User:Nicky_Perian/Visual_Studio_10_Autobuild [^] Repositories needed: autobuild framwork: https://bitbucket.org/lindenlab/autobuild [^] Source Code : https://bitbucket.org/NickyP/viewer-autobuild2010-wip [^] | ||||||||
Additional Information | I have made a work around in Windows-cl.cmake for use in my system and it is the following: replace line 156 with: IF(MSVC10) SET(CMAKE_CXX_FLAGS_INIT "/DWIN32 /D_WINDOWS /W3 /EHsc /GR") ELSEIF(NOT MSVC10) SET(CMAKE_CXX_FLAGS_INIT "/DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR") ENDIF(MSVC10) replace line 172 with: IF(MSVC10) SET(CMAKE_CXX_FLAGS_INIT "/DWIN32 /D_WINDOWS /W3 /GX /GR") ELSEIF(NOT MSVC10) SET(CMAKE_CXX_FLAGS_INIT "/DWIN32 /D_WINDOWS /W3 /Zm1000 /GX /GR") ENDIF(MSVC10) replce line 184 with : IF(MSVC10) SET(CMAKE_CXX_FLAGS_INIT "/DWIN32 /D_WINDOWS /W3 /GX /GR") ELSEIF(NOT MSVC10) SET(CMAKE_CXX_FLAGS_INIT "/DWIN32 /D_WINDOWS /W3 /Zm1000 /GX /GR") ENDIF(MSVC10) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0030235) David Cole (manager) 2012-08-11 11:09 |
Sending old, never assigned issues to the backlog. (The age of the bug, plus the fact that it's never been assigned to anyone means that nobody is actively working on it...) If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^] It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing. |
(0041809) Kitware Robot (administrator) 2016-06-10 14:28 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-03-01 08:53 | Brendan Wilson | New Issue | |
2012-08-11 11:09 | David Cole | Status | new => backlog |
2012-08-11 11:09 | David Cole | Note Added: 0030235 | |
2016-06-10 14:28 | Kitware Robot | Note Added: 0041809 | |
2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved |
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |