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ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ