You need to find a file called RunWeka.bat in the Weka folder (which is
in the Program Files folder), open it in an editor (e.g. Word) and add
the -Xmx option to the java command that's in there.
On May 11, 2005, at 9:00 AM, Onesh Fisher wrote:
> Hi Eibe,
> Thanks for the help. Being a computer idiot, can you
> please tell me what command you would type,
> specifically, at the windows command line interface to
> increase the heap size. I'm running a new computer
> with 1gb of ram.
> I've asked a number of other sources and I can't get a
> specific answer.
> I'd greatly appreciate your help as WEKA keeps
> crashing with my larger sample files (10k-25k data
> Thanks in advance.
> --- Eibe Frank <[hidden email]> wrote:
>> Hi Joe,
>> You can use the -Xmx option with the java command
>> when you run it from
>> a command-line interface.
>> For example, add -Xmx300M to give the Java Virtual
>> Machine 300 MBytes
>> of heap space.
>> There should be a runWeka.bat (I can't remember the
>> exact name) in the
>> Weka directory in Program Files under Windows. This
>> should have the
>> java command and you can add it there. Then it
>> should work from the
>> Program Menu.
>> PS: You might want to consider joining the Weka
>> mailing list
>> (instructions are on the Weka page).
>> On Apr 12, 2005, at 3:49 AM, Onesh Fisher wrote:
>>> Dear Mr. Eibe,
>>> I have been using WEKA for a number of months and
>>> very impressed with the software; great job and
>>> I do have one question for you. When I try to
>> load or
>>> analyze larger files (20-50k records) I often get
>>> error message that the heap size is too small and
>>> program quits (in window XP). Do you have any
>>> suggestions for how to fix this, I'm not a Windows
>>> I appreciate your help and thank you again for the
>>> fine software.
>>> Joe Fisher
>>> Do You Yahoo!?
>>> Tired of spam? Yahoo! Mail has the best spam
>> protection around
>>> http://mail.yahoo.com >>>
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around