Increase memory size when indexing and reduce RAM usage

Let's try with this configuration.