Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!udel!princeton!phoenix!markv From: markv@phoenix.Princeton.EDU (Mark T Vandewettering) Newsgroups: comp.sys.sgi Subject: malloc problems revisited Message-ID: <11421@phoenix.Princeton.EDU> Date: 9 Nov 89 15:34:31 GMT Reply-To: markv@phoenix.Princeton.EDU () Organization: Princeton Univ. Computing and Information Technology Lines: 19 I know this has been hashed out in the newsgroups before, but I still have to reach a viable resolution for a program that I am working on. This program allocates around 400K polygons, containing roughly 50 bytes each. Yet, when drawn, the paging activity on the system goes through the roof. Eventually, the program dies with by being unable to allocate any more pages. We have 16 megabytes of memory on an SGI 240GTX, OS 3.1g. I have tried using -lmalloc to get the Berkeley one as well. Does anyone have any good ideas as to how get around this problem? Is there a problem in the library routines as well that prevents drawing of more than a fixed number of polygons. As an aside, I am using the builtin lighting model. Hope someone can help. Mark (markv@cs.uoregon.edu)