home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!noc.near.net!news.cs.brandeis.edu!news!phils
- From: phils@chaos.cs.brandeis.edu (Phil Shapiro)
- Subject: Re: out of memory in ThC 5 when dbugging
- In-Reply-To: REEKES@applelink.apple.com's message of 24 Aug 92 19: 28:06 GMT
- Message-ID: <PHILS.92Aug27093132@chaos.cs.brandeis.edu>
- Followup-To: comp.sys.mac.programmer
- Sender: news@news.cs.brandeis.edu (USENET News System)
- Organization: Symantec Corp.
- References: <1992Aug21.150738.10377@kingston.ac.uk> <REEKES-240892122857@90.10.20.67>
- Date: Thu, 27 Aug 1992 14:31:32 GMT
- Lines: 30
-
- In article <REEKES-240892122857@90.10.20.67> REEKES@applelink.apple.com (Jim Reekes) writes:
-
- Do you have WallPaper running? It's a cdev that create desktop
- patterns, and I've found that there's a bad interaction with Think
- C that orphans memory with every step you take. :->
-
- There is a very specific bug in the THINK C Debugger which causes an
- extra ppat 0 to be orphaned on the debugger's heap after each single
- step. There isn't any fix for this problem yet, but in the meantime
- you should either give the debugger more memory, or switch to the
- ltGray default desktop.
-
- However, it doesn't sound like this is the problem that the original
- poster is running into - if the debugger runs out of memory, you'll
- get alerts like "Debugger is low on memory". Instead, he was having a
- problem with launching the debugger. There's a short list of things to
- try in the user manual on p. 476; most likely the partition size for
- the project was too large.
-
- When you run a project in THINK C, it uses a seperate partition for
- the running project and the debugger. If you get an "out of memory"
- error when launching the debugger, try making THINK C's partition
- smaller. Also, bring up the Set Project Type dialog, and make sure
- that the application's partition size isn't too large.
-
- -phil
- --
- Phil Shapiro Software Engineer
- Language Products Group Symantec Corporation
- Internet: phils@cs.brandeis.edu
-