TextKit2 vs TextKit1 memory usage

I'm working on an app displaying a few hundred custom labels. The custom label is modelled after UILabel. When I implement the custom label using TextKit, the app is using about 0.5 GB of memory. When I implement it using TextKit2, it takes about 1.2 GB.

Did anyone notice such a big difference in memory usage between TextKit and TextKit2?

For how long will TextKit be around before being deprecated?

Replies

That certainly does not seem expected. You could start by using the Allocations template in Instruments, to get a sense of what's actually using all that memory. Without some specific information such as Instruments provide, it's hard to advise you on how to proceed.