home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 14615 < prev    next >
Encoding:
Text File  |  1992-08-27  |  2.0 KB  |  44 lines

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