Okay it was memory, I was out of memory because apparently the whole container is always inside memory, and my unoptimized data set was 1gb.