• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
malloc performance problem on Xcode 3.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

malloc performance problem on Xcode 3.0


  • Subject: malloc performance problem on Xcode 3.0
  • From: Frank Rimlinger <email@hidden>
  • Date: Sat, 27 Oct 2007 18:03:33 -0400



I get the following console message when running C++ using Xcode 3.0 on Leopard:

Running…
worker3(19876) malloc: enabling scribbling to detect mods to free blocks
worker3(19876) malloc: checks heap after 1th operation and each 1 operations
worker3(19876) malloc: will abort on heap corruption
worker3(19876) malloc: MallocCheckHeap: PASSED check at 1th operation

The last line of this message then repeats over and over for every single malloc operation, which absolutely kills performance.  I looked through the preferece settings but there is nothing about malloc there.  Guard Malloc is not enabled.  According to

http://developer.apple.com/releasenotes/DeveloperTools/RN-MallocOptions/index.html#//apple_ref/doc/uid/TP40001026-DontLinkElementID_2

the relevant environmental variables are MallocCheckHeapStart and MallocCheckHeapEach. These are apparently set to 1 for my execution. However, when I do a getInfo on my executable, no environmental variables show up in the list. I think there must be a secret place where these variables are set, but where is it???

Frank

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: malloc performance problem on Xcode 3.0
      • From: Chris Espinosa <email@hidden>
    • Re: malloc performance problem on Xcode 3.0
      • From: David Dunham <email@hidden>
  • Prev by Date: Re: xcodebuild tool excruciatingly slow
  • Next by Date: Re: malloc performance problem on Xcode 3.0
  • Previous by thread: Re: All floating point constants 64-bit in Xcode 3?
  • Next by thread: Re: malloc performance problem on Xcode 3.0
  • Index(es):
    • Date
    • Thread