Results 1 to 3 of 3
Thread: Increasing Java heap space
- 02-03-2011, 02:06 AM #1
Member
- Join Date
- Sep 2010
- Posts
- 47
- Rep Power
- 0
Increasing Java heap space
Hello all. I am trying to create an array of ints with 10,000,000+ elements but I get an error 'java.lang.OutOfMemoryError: Java heap space'. I understand that I can increase my heap space somehow, but I don't really know how. I have a very good computer so I would like to double it at least. Thanks.
- 02-03-2011, 02:19 AM #2
if you type java on its own on the command line you will get help about options available. One of them is -X. Type java -X and you will get further help about the -X options. Good luck.
- 02-03-2011, 02:24 AM #3
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,608
- Rep Power
- 5
Similar Threads
-
Increasing heap/stack size (MacOSX)
By CapsLoc in forum New To JavaReplies: 3Last Post: 12-13-2010, 10:52 AM -
increasing jvm heap space
By kizyle502 in forum Advanced JavaReplies: 1Last Post: 05-15-2010, 10:51 AM -
Java heap space,
By babyboban in forum Advanced JavaReplies: 18Last Post: 01-14-2010, 12:22 PM -
Java Heap Space
By sandeeprao.techno in forum Advanced JavaReplies: 19Last Post: 10-30-2008, 11:27 AM -
Java heap space?
By javanewbie in forum New To JavaReplies: 1Last Post: 06-24-2008, 06:55 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks