Quantcast

Maximum PC

It is currently Wed Sep 17, 2014 4:50 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Memory available to JVM
PostPosted: Mon Feb 16, 2009 5:32 pm 
Little Foot
Little Foot
User avatar

Joined: Mon Jul 28, 2008 1:39 pm
Posts: 123
I am working on an application to calculate pi to very high precision (the same one i described in this thread). When I try to calculate to >=10,000,000 digits of precision, the JVM gets an OutOfMemoryError. Is there any way to increase the amount of memory available to the JVM (by telling it to use more disk memory, perhaps)?


Top
  Profile  
 
 Post subject:
PostPosted: Fri Feb 20, 2009 1:34 am 
Team Member [Top 500]*
Team Member [Top 500]*
User avatar

Joined: Thu Jun 24, 2004 2:22 pm
Posts: 8720
Location: Cleveland, Ohio
I assume you found it by now but:

http://www.rgagnon.com/javadetails/java-0131.html

Ron


Top
  Profile  
 
 Post subject:
PostPosted: Fri Feb 20, 2009 7:27 am 
Little Foot
Little Foot
User avatar

Joined: Mon Jul 28, 2008 1:39 pm
Posts: 123
Thanks for the help. The problem's fixed. I didn't know the JVM only used 16MB of memory!


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group