GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Java.Lang.OutOfMemory Error: Java heap Space
Operating System - Linux
1847799
Members
2677
Online
104021
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2010 06:41 AM
01-26-2010 06:41 AM
Java.Lang.OutOfMemory Error: Java heap Space
I try to login to my web application sitting on a RHEL5, from my windows laptop. I got the following error message:
Java.Lang.OutOfMemory Error: Java heap Space
Please Advice
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2010 06:57 AM
01-26-2010 06:57 AM
Re: Java.Lang.OutOfMemory Error: Java heap Space
That's an issue with either your java app (could it be leaking memory?) or just that it actually requires more memory than what's available on your JVM.
If it's the later, you can adjust the heap size (on your windows client) passing the -Xms and -Xmx parameters to java.
Eg: "java -Xms128m -Xmx512m" would set an initial heap size of 128MB and maximum of 512MB for the JVM.
It could also be that the maximum heap size is configured to an unnecessarily high value on your tomcat server.
If it's the later, you can adjust the heap size (on your windows client) passing the -Xms and -Xmx parameters to java.
Eg: "java -Xms128m -Xmx512m" would set an initial heap size of 128MB and maximum of 512MB for the JVM.
It could also be that the maximum heap size is configured to an unnecessarily high value on your tomcat server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2010 05:25 AM
01-29-2010 05:25 AM
Re: Java.Lang.OutOfMemory Error: Java heap Space
Thank you !
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP