Reduce memory usage on embedded cartridges