Adium

TracNav(TOC)?

Memory leak detection

If you notice Adium is using a lot of memory (more than about 80 MB) and have already sent us a Sample report), you may need to run leaks or heap on Adium. Unfortunately, unlike sample, there is no nice GUI-front end for leaks or heap. Most of the time, a report from leaks or heap will only be necessary after a you send in a Sample report. Also, 9 times out of 10, slowness you notice when using Adium is not due to a memory leak, but something we can easily spot on a Sample report.

Leaks

Here are the steps to generating a usable report from leaks:

  1. Make sure Adium is not running.
  2. Open Terminal.app (/Applications/Utilities/Terminal.app).
  3. Run Adium with the following command (this assumes Adium is in /Applications; adjust as necessary if it is not) MallocStackLogging=1 /Applications/Adium.app/Contents/MacOS/Adium.
  4. Use Adium. If you have an idea as to what might be the most likely cause of the leak, performing that action repeatedly. If not,use Adium until the memory usage reaches an unusually high level. (Note that MallocStackLogging will, by itself, increase memory usage, so you may want to let it bet a bit higher than you've previously seen.)
  5. Switch to Terminal.app, open a new window (command+N), and paste the following text into the window:
    leaks Adium > ~/Desktop/leaks.txt.
  6. A file, leaks.txt will be on your desktop. Send this to us, we'll take a look at it. You can also attach it to a ticket.

Heap

Here are the steps to generating a usable report from heap:

  1. Make sure Adium is running, and using a lot of memory.
  2. Open Terminal.app (/Applications/Utilities/Terminal.app).
  3. Run the following command: heap -guessNonObjects Adium > ~/Desktop/heap.txt.
  4. When this completes, a file, heap.txt will be on your desktop. Send this to us and we'll take a look at it. You can also attach it to a ticket.

How to get the files to us

Via Twitter or as a visitor to #adium (IRC)

If you have been asked via Twitter (@Adium} or in our IRC channel #adium, please use http://gist.github.com.

Creating a ticket

If you're creating a ticket, please please attach the file to the ticket.

Emailing us

In an email, please send the files as attachments.

Posting on the forum

We prefer you not post bug reports on the forums, but if you feel you really have to provide it there, wrap the content in [code] and [/code] tags.

Page last modified by Robby, 6 years ago