fileability/chocolat-public — Issue #748: Opening iTunes library XML file causes Chocolat to consume > 1GB mem
Author: paulgrav
Created: 2012-02-01 20:24:28+00:00
State: open

# Summary

Opening my iTunes library XML file, which is a bit over 9MB causes Chocolat’s memory usage to spiral out of control to over 1GB. When I close the file, the memory is not released.

# Steps to Reproduce

1. ⌘O
2. Navigate to ~/Music/iTunes/iTunes Music Library.xml
3. Click Open
4. Wait for syntax highlight to finish.
5. ⌘W

# Expected Results

Chocolat’s memory usage should not increase to over 1GB. If the file is closed then any memory previously consumed should be freed.

# Actual Results

Memory usage increase to over 1GB when the file is open. Memory usage remains over 1GB when the file is closed.

# Notes:

Opening the same file in BBEdit barely affects the app’s memory usage.