Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Automatically increasing memory

 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My Java app keeps on running out of memory. I googled and read some articles that say I need to add -Xmx to my command line. But I don't want to do that. Is there some other way to increase the memory my app can use?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Buy a bigger server
 
Jan Cumps
Bartender
Posts: 2602
13
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bigger server can't be delivered today. They don't believe me.

Very frustrating ! :headbang:
 
Ankit Garg
Sheriff
Posts: 9528
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My whole system is out of memory
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I bought server with 128GB RAM. App still runs out of memory. Please solve this for me.
 
Ankit Garg
Sheriff
Posts: 9528
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Follow the steps given below to solve your problem

Step 1:
 
Scott Selikoff
author
Saloon Keeper
Posts: 4028
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter Johnson wrote:My Java app keeps on running out of memory. I googled and read some articles that say I need to add -Xmx to my command line. But I don't want to do that. Is there some other way to increase the memory my app can use?


Have you asked a wizard? It's a standard operating procedure to ask a wizard for more memory.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic