Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!uxc.cso.uiuc.edu!uxc.cso.uiuc.edu!m.cs.uiuc.edu!aslam From: aslam@m.cs.uiuc.edu Newsgroups: comp.sys.encore Subject: EPT THREAD(disaster) - memory alloc Message-ID: <37500008@m.cs.uiuc.edu> Date: 8 Sep 89 03:10:00 GMT Lines: 40 Nf-ID: #N:m.cs.uiuc.edu:37500008:000:1485 Nf-From: m.cs.uiuc.edu!aslam Sep 7 22:10:00 1989 I am using the EPT (Encore Parallel Threads) package for a numerical analysis application. The setup is rather simple: THREADgo followed by a series of THREADcreate. The THREADcreate calls fail, perhaps due to small stack size. This is what EPT reports: -------------------------------------------- Memory allocation statistics free: 0 255 122 48 29 0 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 used: 0 1 6 16 3 0 1 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Total in use: 18512, total free: 18352 THREAD(disaster): pid 30359 (0): out of memory IOT trap -------------------------------------------- How do I interpret this information? EPT is out of memory but which memory is it referring it to? I ask for a pretty large chunk in my THREADgo call. I am liberal with stacks also. What do the two lines free: 0 255 122 48 29 0 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 used: 0 1 6 16 3 0 1 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 mean? I am using UMAX 4.2, R3.2.0 on a 10 processor Multimax. An aside: how can use cdb to debug programs using EPT? CDB can keep track of processes as they are forked but how do I step through the program section as a thread executes it? Commands like '0 P', '1 P' allow me to switch between processes but these are unix processes that are servicing the threads I have created. Sohail Aslam Department of Computer Science University of Illinois arpa aslam@cs.uiuc.edu usenet uiucdcs!aslam bitnet aslam@uiucdcs.BITNET