From: "Björn Lundin" <b.f.lundin@gmail.com>
Subject: Re: problems parse (large) json file with gnatcoll.json
Date: Tue, 19 Apr 2016 11:14:40 +0200
Date: 2016-04-19T11:14:40+02:00 [thread overview]
Message-ID: <nf4trv$jn9$1@dont-email.me> (raw)
In-Reply-To: <87inzeqafw.fsf@adaheads.consafe1.org>
On 2016-04-19 10:17, Jacob Sparre Andersen wrote:
> Björn Lundin <b.f.lundin@gmail.com> writes:
>
>> ulimit is at 8192 kb and I increase it to 16384
>> (that is max what I can see)
>> $ ulimit -s
>> 16384
>
> Have you tried to increase it a bit more? I have occasionally set the
> stack size to 4 Gb for some of my Ada programs.
How?
I got errors when setting it higher (at prompt level)
> I think GNAT allows you to request a specific stack size with a pragma,
> but I can't remember the details.
Yes, at least for tasks.
task Sender_Task is
pragma Storage_Size(600 * 1024);
entry Start;
entry Stop;
end Sender_Task;
Perhaps for the environment (main) task as well.
However, Jeff solved my actual problem.
--
--
Björn
next prev parent reply other threads:[~2016-04-19 9:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-18 18:21 problems parse (large) json file with gnatcoll.json Björn Lundin
2016-04-18 18:51 ` Jeffrey R. Carter
2016-04-18 19:05 ` Björn Lundin
2016-04-19 19:48 ` Shark8
2016-04-20 7:50 ` AdaMagica
2016-04-21 8:44 ` Björn Lundin
2016-04-25 10:38 ` briot.emmanuel
2016-04-25 15:12 ` Björn Lundin
2016-04-18 18:59 ` joakimds
2016-04-18 19:23 ` Björn Lundin
2016-04-19 8:17 ` Jacob Sparre Andersen
2016-04-19 9:14 ` Björn Lundin [this message]
2016-04-19 9:56 ` gautier_niouzes
2016-04-19 12:49 ` G.B.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox