Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Out of Memory in LINUX

User_OMA69Mar 3 2022

set export JAVA_OPTS="-Xss200M -Xms1G -Xmx1G -Dfile.encoding=UTF-8"
Setting the above property and When trying to read the 70 MB file in LINUX environment it is throwing OutOfMemory : Java heap space but the same not happens in WINDOWS environment

Comments
Post Details
Added on Mar 3 2022
0 comments
219 views