Re: NSUserDefaults allocation size and CALayer memory usage

2015-06-29 Thread Jens Alfke
On Jun 28, 2015, at 11:35 PM, Henrik Granaas-Helmers helm...@me.com wrote: 1. NSUserDefaults seems to allocate 16 MB memory at load. I can't see myself using a megabyte—let alone 16 of those. It would be very interesting to know why it allocates so much, and if there is a way to encourage

Re: NSUserDefaults allocation size and CALayer memory usage

2015-06-29 Thread David Duncan
On Jun 28, 2015, at 11:35 PM, Henrik Granaas-Helmers helm...@me.com wrote: Hi there, I am new to Apple development, and new to this list. I have two questions about memory on OS X. 1. NSUserDefaults seems to allocate 16 MB memory at load. I can't see myself using a megabyte—let

NSUserDefaults allocation size and CALayer memory usage

2015-06-29 Thread Henrik Granaas-Helmers
Hi there, I am new to Apple development, and new to this list. I have two questions about memory on OS X. 1. NSUserDefaults seems to allocate 16 MB memory at load. I can't see myself using a megabyte—let alone 16 of those. It would be very interesting to know why it allocates so much, and if

Re: NSUserDefaults allocation size and CALayer memory usage

2015-06-29 Thread Quincey Morris
On Jun 28, 2015, at 23:35 , Henrik Granaas-Helmers helm...@me.com wrote: 1. NSUserDefaults seems to allocate 16 MB memory at load. I can't see myself using a megabyte—let alone 16 of those. It would be very interesting to know why it allocates so much, and if there is a way to encourage