java - Memory not beeing freed while indixing using solrj -
we start indexing data db using solrj , retrieve 1 million record db , make process using java on record . face problem memory . when start indexing process memory start growing reach 7 g .the problem indexing process finish memory dose not decrease keep allocation 7 g.
as jvm holds memory, think have problem elaborated in jvm sending memory os
to tackle need michael borgwardt wrote there:
if want jvm return memory os more eagerly, can use tuning parameters of oracle jvm, -xx:maxheapfreeratio , -xx:minheapfreeratio
Comments
Post a Comment