{"action":"closed","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/6238","repository_url":"https://api.github.com/repos/spring-projects/spring-boot","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/6238/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/6238/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/6238/events","html_url":"https://github.com/spring-projects/spring-boot/issues/6238","id":162645621,"number":6238,"title":"[ Spring Mongo DB ] Ram always rises and only stops rising after running out of request. Then it doesn't automatically decrease","user":{"login":"hoanghunguet","id":17897013,"avatar_url":"https://avatars.githubusercontent.com/u/17897013?v=3","gravatar_id":"","url":"https://api.github.com/users/hoanghunguet","html_url":"https://github.com/hoanghunguet","followers_url":"https://api.github.com/users/hoanghunguet/followers","following_url":"https://api.github.com/users/hoanghunguet/following{/other_user}","gists_url":"https://api.github.com/users/hoanghunguet/gists{/gist_id}","starred_url":"https://api.github.com/users/hoanghunguet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoanghunguet/subscriptions","organizations_url":"https://api.github.com/users/hoanghunguet/orgs","repos_url":"https://api.github.com/users/hoanghunguet/repos","events_url":"https://api.github.com/users/hoanghunguet/events{/privacy}","received_events_url":"https://api.github.com/users/hoanghunguet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-projects/spring-boot/labels/waiting-for-triage","name":"waiting-for-triage","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-28T09:49:31Z","updated_at":"2016-06-28T09:53:40Z","closed_at":"2016-06-28T09:53:40Z","body":"\r\nI have Spring boot project.When i build project .Ram always rises and only stops rising after running out of request. Then it doesn't automatically decrease\r\nHere my gradle \r\n`compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-mongodb', version: '1.3.5.RELEASE'`\r\nHere config in my _spring-config.xml_ file \r\n```\r\n<mongo:mongo host=\"127.0.0.1\" port=\"27017\">\r\n\t\t<mongo:options connect-timeout=\"1000\" max-wait-time=\"1500\"\r\n\t\t\tauto-connect-retry=\"true\" socket-keep-alive=\"true\" socket-timeout=\"1500\"\r\n\t\t\tslave-ok=\"true\" write-number=\"1\" write-timeout=\"0\" write-fsync=\"true\" />\r\n\t</mongo:mongo>\r\n\r\n\t<mongo:db-factory dbname=\"TabnGo\" />\r\n\r\n\r\n\t<bean id=\"mongoTemplate\" class=\"org.springframework.data.mongodb.core.MongoTemplate\">\r\n\t\t<constructor-arg ref=\"mongo\" />\r\n\t\t<constructor-arg name=\"databaseName\" value=\"TabnGo\" />\r\n\r\n\r\n```\r\nIn call mongoTemplate in code:\r\n```\r\nprotected MongoOperations getMongoOperation() {\r\n\t\t@SuppressWarnings(\"resource\")\r\n\t\tApplicationContext mongoApp = new GenericXmlApplicationContext(\r\n\t\t\t\t\"spring-config.xml\");\r\n\t\treturn (MongoOperations) mongoApp.getBean(\"mongoTemplate\");\r\n\t}\r\n```\r\nPlease Help Me......\r\n"}}
{"actor":{"display_login":"snicoll"}}