Leak detection
If Adium is using an excessive amount of memory (more than about 50 MB), you may be experiencing a memory leak. The leaks program can tell us whether your Adium process has leaked any memory. To use it:
leaks Adium >> FILENAME.txt
You can specify any filename, but it should end in .txt. You should include your name or initials in the filename, like "jdoe's_leaks_output.txt", so that nobody accidentally clobbers your file with their own leaks output using the "Replace existing attachment" feature.
Once you've created the file, you should attach it to a ticket.
Leaks is much more useful if Adium is running with MallocStackLogging enabled. If it is not immediately obvious from the standard leaks output where the leaks originate, this will be necessary. To use MallocStackLogging:
- Load Terminal
- Type MallocStackLogging=1 /Applications/Adium.app/Contents/MacOS/Adium and hit enter, modifying the path to Adium.app if necessary.
- Use Adium, repeatedly performing the action which you think is most likely the cause of the leak if applicable, or using Adium normally if not
- Run leaks as above.
MallocStackLogging will, by itself, increase memory usage, so this is not recommended for daily use.