Fixed Library to close curl session after doing call > lower memory usage; Switched indexing - structure to do core indexing in curl call > memory - issue not fixed but workaround - is working :)