Discussion Board
Go to the previous messageGo to the following message
Current Forum: Homework 3 Forum
Date: Thu Sep 27 2001 6:18 pm
Author: Cipriani, Jason A. <jac4@andrew.cmu.edu>
Subject: Re: out of memory error

the "java" option:

-Xmxsize_in_bytes

will set the maximum heap size. according to the little java usage screen, the default is 24MB. and according to emacs, my program runs out of memory approximately 4% of the way throught the document (egad!)...

i'm sure there's some size optimizations i can make, but i don't think i can do ANYTHING that will bring my program even close to making it to the end of the document.

i don't think its a stack problem, because the maximum recursive depth in my implementation is the number of letters in the longest word... not very deep at all.

any suggestions?

jason
Post response

Go to the previous messageGo to the following message
Current Thread Detail:
out of memory error      Hynes, Christopher D.      Thu Sep 27 2001 5:21 pm       
Re: out of memory error      Cipriani, Jason A.      Thu Sep 27 2001 6:06 pm       
Re: out of memory error      Cipriani, Jason A.      Thu Sep 27 2001 6:18 pm       
Re: out of memory error      Cipriani, Jason A.      Thu Sep 27 2001 8:50 pm       
Re: out of memory error      Douglas, Keith      Thu Sep 27 2001 8:57 pm       
Re: out of memory error      Lee, Peter      Fri Sep 28 2001 4:41 pm       
Re: out of memory error      Yuen, John      Thu Sep 27 2001 10:57 pm       
Re: out of memory error      Shi, Ying      Sun Sep 30 2001 11:16 pm       

Back to previous screen