How to Increase Java Heap Space on elastic beanstalk

0

I have a spring boot application that I have deployed its jar to elastic beanstalk, this app allows users to upload files (image and video), I am saving this on S3, and it works successfully but when my users upload larger files of about 85 MB, I get an error, when I checked the logs, I saw an "OutOfMemoryError Java heap space" exception. I feel like 85MB is small to get this error, as users are allowed to upload up to 300 MB sizes. what is elastic beanstalk's default heap space, and how can I increase it? My instance is a t2micro.

已提問 10 個月前檢視次數 93 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南