Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » Increased stack size for MSC in Core
Increased stack size for MSC in Core [message #37130] Tue, 28 August 2012 11:31 Go to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
After achieving stack overflow in 'regular way' in one of my really complex applications, I have decided to add linker option to Core that increases the stack size to 8MB.
Re: Increased stack size for MSC in Core [message #37132 is a reply to message #37130] Tue, 28 August 2012 11:53 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

mirek wrote on Tue, 28 August 2012 05:31

After achieving stack overflow in 'regular way' in one of my really complex applications, I have decided to add linker option to Core that increases the stack size to 8MB.

To increase stack in MSC I had to add:
link << " -stack:2000000";
in MscBuilder.cpp
It would be great if that was configurable in project or build options.
Re: Increased stack size for MSC in Core [message #37135 is a reply to message #37132] Tue, 28 August 2012 20:28 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Why in Builder? I have simply added Linker option to Core (well, originally to my project, but then decided that this might be better). Solved the problem.
Re: Increased stack size for MSC in Core [message #37141 is a reply to message #37135] Wed, 29 August 2012 07:55 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

mirek wrote on Tue, 28 August 2012 14:28

Why in Builder? I have simply added Linker option to Core (well, originally to my project, but then decided that this might be better). Solved the problem.

Maybe I was doing something wrong but only adding this command to the builder helped Smile
Re: Increased stack size for MSC in Core [message #37143 is a reply to message #37141] Wed, 29 August 2012 08:24 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, in any case, it is now in svn, so you can eventually check Smile

Previous Topic: SqlMassInsert [No]UseTransaction
Next Topic: Sort refactored
Goto Forum:
  


Current Time: Fri Mar 29 08:44:47 CET 2024

Total time taken to generate the page: 0.01482 seconds