Resource requirements vary greatly depending on the type of content you're indexing, and the users usage patterns.
Similar to a database, assigning cache memory speeds things up to a degree. At the moment, for example, moodle.org is only allocated 1024mb as it's not heavily used, but usage shows the process peaks over the 512mb default (but only by a little bit).