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

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -