Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!ml10+ From: ml10+@andrew.cmu.edu (Michael A. Libes) Newsgroups: comp.sys.mac.programmer Subject: OpenResFile size Message-ID: Date: 15 Dec 89 18:08:55 GMT Organization: Class of '91, Carnegie Mellon, Pittsburgh, PA Lines: 16 I've been trying to minimize the memory requirements of the new version of my _Launch program and I have been successful in all but one area. To get an icon from an application, I call OpenRFPerm(...fsRdPerm) on that application. The resource map, and other Resource Manager memory structures, take up a HUGE amount of memory. For example, getting the icon from THINK C requires 82K of contiguous space in my heap. Is there are way to tell the Resource Manager to take up less space? If not, can I request another (temporary) heap zone? Or, how can I make the Resource Manager use some space which I get from a Multifinder Temporary NewHandle call? Any suggestions would be much appriciated. - Lunarmobiscuit