comp.lang.ada
 help / color / mirror / Atom feed
* Gnat storage size
@ 2006-08-26 18:09 tmoran
  2006-08-26 18:46 ` Gautier
  2006-08-26 22:42 ` Kevin K
  0 siblings, 2 replies; 10+ messages in thread
From: tmoran @ 2006-08-26 18:09 UTC (permalink / raw)


What command line parameter do I need with Gnat 3.15p to increase the
main program's stack size?  I'm getting
raised STORAGE_ERROR : big.adb:4 object too large
when the command line parameter is >= 4026 with the program:
with ada.command_line;
procedure big is
  procedure try(k : in integer) is
    x : array(1 .. k*1042) of integer;
  begin
    x(1) := 0;
  end try;
begin
  try(integer'value(ada.command_line.argument(1)));
end big;



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-09-01 13:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-26 18:09 Gnat storage size tmoran
2006-08-26 18:46 ` Gautier
2006-08-26 19:26   ` tmoran
2006-08-28  6:26     ` Alex R. Mosteo
2006-08-30  7:53       ` tmoran
2006-09-01 13:24         ` Alex R. Mosteo
2006-08-31  0:15     ` Kevin K
2006-08-31  1:42       ` tmoran
2006-08-31 23:47         ` Kevin K
2006-08-26 22:42 ` Kevin K

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox