comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: Memeory management
Date: Tue, 06 Sep 2005 18:45:43 +0200
Date: 2005-09-06T18:45:43+02:00	[thread overview]
Message-ID: <25601061.ZuNb2YK6sR@linux1.krischik.com> (raw)
In-Reply-To: 1125951895.357358.320220@o13g2000cwo.googlegroups.com

Zheng Wang wrote:

>  Hi, My program is compiled by ObjectAda and ran on Windows, then it
> returns code 128(a correct program should return code 0). I found that
> there are too many variables declared and after I merged some
> variables(number of variables deduced), it does work perfectly. I
> wonder that are there any constrains on the memory allocated for
> variable declaraions? However, I did not allocate and deallocate memory
> as I did in C, does Ada provide automatically garbage collection?

Ada *may* have automatically garbage collection - with emphasis on *may* -
In ObjectAda the garbage collection is provided only for JVM as target

> How 
> could I handle this case if I can not deduce the number of variables
> declared? Many thanks.

See http://en.wikibooks.org/wiki/Ada_Programming/Memory

Regards

Martin
-- 
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com



      parent reply	other threads:[~2005-09-06 16:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-05 21:02 Memeory management Zheng Wang
2005-09-05 21:43 ` tmoran
2005-09-22 15:23   ` adaworks
2005-09-22 17:11     ` Martin Krischik
2005-09-05 21:45 ` jimmaureenrogers
2005-09-06 16:45 ` Martin Krischik [this message]
replies disabled

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