Add parameters: heap_size and max_locked_memory