Re: Gnat STORAGE_ERROR



tmoran@xxxxxxx wrote:
Would some kind soul remind me how one gets more memory for a program
compiled by Gnat for Windows?  "-Wl,--stack=0x2000000" seems to be
an upper limit for successful linking, but inadequate for excecution.
(I recently doubled RAM and now I'm getting Storage_Error!)

I have had success with 3.15p using

--Xlinker --stack=4000000,4000000

however in linux there seems to be some other limit imposed by ld (not just to Ada programs) that I've been unable to break (nor to get some other person to acknowledge that the problem really exists, but some obscure post in some unknown forum).
.