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 个月前94 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则