guys question i have food delivery app backend in...
# server
u
guys question i have food delivery app backend in Ktor with 512 ram droplet but i face memory issues during building the app .. the old back was in laravel and it’s works fine any recommendations
j
Have you run any checks to see what exactly is using memory?
u
yes when i run ./gradlew clean build i encountering error: Gradle build daemon disappeared unexpectedly this was because not enough memory or swap space for Gradle to complete the build, especially i i was a small droplet ( less than 1 GB ).
j
Oh you meant for building, not for running? I think you need at least 2gb for building
Possibly more, depending on the codebase
u
yes i build it locally then i pushed it to solve the issue but why i need 2 GB to run the project i use GO and laravel not face same thing .. now i am wondering Ktor and springBoot because of this issue because i need to rebuild every time i push new changes in project
j
Building should use more memory than running for sure
1
j
@الخبرات العلمية ScienceExperts did you fix?
u
@Joaquín Pérez no actually
j
@الخبرات العلمية ScienceExperts why?