I'm not surprised. You're allocating 20 megs for your program. This is
not much. I'm not surprised you're running out of memory. I'd suggest
using a higher value.
> java -mx2k xxApplication
--
To UNSUBSCRIBE, email
=>From: Rachel Greenham <[EMAIL PROTECTED]>
=>...
=>I can't create a Javadoc of my library! I get out of memory errors. The
=>computer has loads of memory left over.
"I can't be overdrawn -- I still have checks left!" :-)
=>Any ideas what I can do about this?
The http://java.sun.com/produc
Thanks for the hints,
I got responses for invoking java, not the appletviewer. My handy copy of
Java in a Nutshell at work is the first edition, so I missed the fact that
one can pass the java options on through. The more recent copy at home gave
me the answer: use -J[java option]. Thus the solut
Hi,
How about '-mx' option?
For example,
java -mx128M yourClass
from [EMAIL PROTECTED]
From: "Marius Schamschula" <[EMAIL PROTECTED]>
Subject: Out of memory exception
Date: Mon, 14 Dec 1998 12:56:40 -0600
> Hi one and all,
>
> I've written a Java based image processing Applet. It w
On Wed, 26 Aug 1998 09:59:37 +0100, [EMAIL PROTECTED] wrote:
>Help
>
>I believe there may be a problem with the garbage collector as it
>doesn't seem to release all the memory when it is not reference
>
>(But I could be wrong)
>
>I have list my version, m/c spec and a simple program
>
>Many thank
try to make more swap space.
I had the same problem.
On Wed, 17 Jun 1998, Richard Hall wrote:
> I've just begun using JDK1.1.6 on my Debian 2.0.29 machine, and the
> compiler often, but not always claims to be out of memory. top says:
>
> Mem: 14324K av, 14020K used,304K free, 8732K s
You should probably increase -mx option value when running java. AFAIK
default value is 32M
All the Best
Pavel
Richard Hall wrote:
>
> I've just begun using JDK1.1.6 on my Debian 2.0.29 machine, and the
> compiler often, but not always claims to be out of memory. top says:
>
> Mem: 14324K a
Richard Hall wrote:
> I've just begun using JDK1.1.6 on my Debian 2.0.29 machine, and the
> compiler often, but not always claims to be out of memory. top says:
>
> Mem: 14324K av, 14020K used,304K free, 8732K shrd, 92K buff
> Swap: 32252K av, 17908K used, 14344K free
>
> Hi Paris
>
> Look at
> http://www.blackdown.org/java-linux/docs/faq/FAQ-java-linux-5.html#ss5.7
>
> I believe that you need more memory - check how big is your swap and make it
> bigger. As I know javac and javadoc eat a lot of memory (can someone explains
> why?). And when you run X, par
Hi Paris
Look at
http://www.blackdown.org/java-linux/docs/faq/FAQ-java-linux-5.html#ss5.7
I believe that you need more memory - check how big is your swap and make it
bigger. As I know javac and javadoc eat a lot of memory (can someone explains
why?). And when you run X, part of your memory al
Ok..
I have no swap space.. (excuse me whilst I bash
my head against a table, it may knock some more sense in me).
Many thanks for all the kind replies.
Matt
Matt Zagni wrote:
>
> Hi,
>
> Well all looks great at the moment, how ever when I have
> netscape active when I attempt to compile (using javac)
> I get the following error **out of memory, exiting**.
>
> Has anyone else had his error or is it just my box.
>
Not seen it - even on a 486dx66 wit
12 matches
Mail list logo