Waziup / Socialbackend

1 stars 3 forks source link

RAM consumption #11

Open cdupont opened 6 years ago

cdupont commented 6 years ago

I see that the component consumes a lot of memory: JAVA_OPTS: -server -Xms64m -Xmx512m In the Cloud VM we are quite restricted. Is it possible to go down?

cdupont commented 6 years ago

A top command shows that the socials backend consumes 1.2 Go. We should reduce it to run it in the Cloud.

pandaconstantin commented 6 years ago

Depends when it is deployed on application server . We modified to run it with lite wildfly-swarm

pandaconstantin commented 6 years ago

Check if the issue is still there

cdupont commented 6 years ago

@pandaconstantin the issue is still there: RAM usage at 1.2 Go. What did you modify? I don't see any commit?

cdupont commented 6 years ago

I think I solved it: https://github.com/Waziup/Socialbackend/commit/6cb1ffc372fedb815a01e597902320f8eab92f6b RAM is now 300Mo