java - Elasticsearch memory probles -



java - Elasticsearch memory probles -

when i'm trying start elasticsearch in ubuntu startup script gives me next error:

java hotspot(tm) client vm warning: info: os::commit_memory(0x74800000, 201326592, 0) failed; error='cannot allocate memory' (errno=12) # # there insufficient memory java runtime environment continue. # native memory allocation (malloc) failed allocate 201326592 bytes committing reserved memory.

i seek search , couldn't find solution this. if restart machine work day , elasticsearch goes downwards , appear error.

i setup property bootstrap.mlockall: true in elasticsearch.yml file, , properties in default elasticsearch file:

es_heap_size=512 (i have 1gb of ram) max_locked_memory=unlimited

someone know need do?

thanks

java ubuntu memory elasticsearch

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -