Added sync without memory problems with args filling logs