rohitghatol / spring-boot-microservices

Spring Boot Template for Micro services Architecture - Show cases how to use Zuul for API Gateway, Spring OAuth 2.0 as Auth Server, Multiple Resource (Web Services) Servers, Angular Web App, Eureka dor registration and Discover and Hystrix for circuit breaker
Apache License 2.0
1.76k stars 919 forks source link

Memory usage about 12G,it is normal? #16

Closed rc452860 closed 7 years ago

rc452860 commented 7 years ago

I use Vmware test this project,and system is ubunut 17.04,allocate 8G ram,run this project a later that system be stuck. any operation is invaild.

rc452860 commented 7 years ago

when i put this project in tencent cloud with 16G ram,I use top to see the java process ram usage about 12G.the project can be start normal.

anilallewar commented 7 years ago

if you are running all projects then it might take up memory, I can run them on Mac with 16 GB RAM without any issues. I would suggest you use the -Xmx flag to limit the memory to 1 GB for all the servers when you start them.

rc452860 commented 7 years ago

I know that ,but I just don't know that the other guys have seem problem。I was slove the problem,however,thanks your reply