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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -