Elasticsearch stops running everytime

Hello Guys,
I have successfully installed elasticsearch on my windows platform for dev purposes. However, when i installed it on my VPS which is linux based, it runs and after a while it stops by itself. When I start the service, I get the following warning message :

root@vps15042 [~]# sudo service elasticsearch start
error: permission denied on key 'vm.max_map_count'
Starting elasticsearch: [ OK ]
root@vps15042 [~]# log4j:WARN No appenders could be found for logger (common)
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for morefo.
*** glibc detected *** /usr/bin/java: malloc(): memory corruption: 0x00007f6106670 ***

What should be done to correct this issue? I have read somewhere that the files logging.yml and elasticsearch.yml must be placed. Where should they be placed and what must be their contents for it to work? I have tried different things but I am still unable to make it run properly without stopping and without warning message.