Attempting to get this working still running out of memory for ion_create_thread