[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Qube 3: problem running jdk 1.3.1
- Subject: Re: [cobalt-developers] Qube 3: problem running jdk 1.3.1
- From: Timothy.Lau@xxxxxxxxxxxx
- Date: Mon Jul 23 04:01:00 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
Hi all,
I am having some difficulties with Java 1.3.1 in Qube 3.
I have installed the JDK correctly and using it correctly. COmpile/
Run. No problem.
I have this code and constantly giving me
java.lang.outofMemoryError.
This is the code snippet:
BufferedReader abuf = new BufferedReader(new StringReader(<< A HUGH String
Source (a 200 character XML)>>));
String content = abuf.readLine();
I have no problem running this code on any of the other development machine
except the Qube3 that I have.
I have a Qube3 Professional
I tried to do java -Xmx128m -Xms64m abcd
And Still gives me the Memory Error. I notice when I do a System.out on the
content. It gives me a portion of the String before giving me the error and
the same length of string everytime.
Any ideas?
Thanks
Timothy