Graphite & Memory optimization