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.

asked 9 months ago86 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions