comp.lang.ada
 help / color / mirror / Atom feed
* Tasking Storage
@ 1996-08-26  0:00 ericm
  0 siblings, 0 replies; 2+ messages in thread
From: ericm @ 1996-08-26  0:00 UTC (permalink / raw)



I have several tasks running in a large Ada application.  The problem is 
that some of my tasks are receiving STORAGE exceptions.  I have many of 
my tasks set to a STORAGE_SIZE of 200_000 and after long processing I 
still seem to get these storage errors.  Is there anyway to manage the 
the storage size of my tasks, either dynamic allocation or by cleaning up 
the stack in my task.  I'm processing a lot of data in some of these 
tasks and in others I'm flushing X/Motif events.  I know of all the Motif 
memory leaks and we've kept those to a minimum.  The code has been 
cleaned up as far as deallocating any linked lists but I still seem to 
get these storage errors propogating out of the tasks.  The storage 
errors are never immediate but only seem to occur after some real 
intensive processing or having the system up for 8 or more hours.  

The platform is an HP9000/755 with 128Meg using the Verdix compiler.

Any suggestions would be appreciated.  Thanks.




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

* Re: Tasking Storage
@ 1996-08-28  0:00 W. Wesley Groleau (Wes)
  0 siblings, 0 replies; 2+ messages in thread
From: W. Wesley Groleau (Wes) @ 1996-08-28  0:00 UTC (permalink / raw)



This might have been fixed, but a couple years ago Verdix would lose heap
storage when tasks were created and terminated.

The task control block and the task STACK were on the heap.
In the case asked about, the task stack was set to 200_000 and when
the task terminated Verdix did NOT deallocate the space.

Again, this might be fixed by now, and doesn't explain why
NON-terminating tasks would run out of memory.

---------------------------------------------------------------------------
W. Wesley Groleau (Wes)                                Office: 219-429-4923
Hughes Defense Communications (MS 10-40)                 Home: 219-471-7206
Fort Wayne,  IN   46808                  (Unix): wwgrol@pseserv3.fw.hac.com
---------------------------------------------------------------------------




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

end of thread, other threads:[~1996-08-28  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-08-26  0:00 Tasking Storage ericm
  -- strict thread matches above, loose matches on Subject: below --
1996-08-28  0:00 W. Wesley Groleau (Wes)

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