[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 Stonis <timothy.stonis@xxxxxxx>
- Date: Tue Jul 24 03:16:34 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
Try:
ulimit -s 2048
before running your app. Or, if you have an app using lots of sockets, also
try:
ulimit -u 1024
_Tim
On 7/23/01 10:51 AM, "Timothy.Lau@xxxxxxxxxxxx" <Timothy.Lau@xxxxxxxxxxxx>
wrote:
>
>
>
> 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
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>