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
-
Hai all,
I developed an application to be run on Linux
platform using JDK1.2.2…But when I run the same on Linux compiled with the
JDK1.2 (from blackdown.org),I am getting Out of memory error… My application
is using postgresSQL as the backendand the JDBC driver provided by the
=>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 ca
I can't create a Javadoc of my library! I get out of memory errors. The
computer has loads of memory left over.
It's OK if I use the -1.1 flag, but not without.
Any ideas what I can do about this?
--
Rachel
---
Ignacio de Miguel wrote:
> The solution is replace :
>
> java HelloWord
>
> for
>
> java -green HelloWord
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of
Hi there,
I just installed the pre-release 1 of jdk1.2 on my system and as stated
in the README included its bin directory in my PATH. But - even trying to
run a simple HelloWorld fails with an OutOfMemory error (and I am somewhat
certain that there is enough memory left [unless, 900MB free me
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
Hi one and all,
I've written a Java based image processing Applet. It was written under the
latest version of Metrowerks CodeWarrior (a great IDE IMHO soon to make it
to Linux as well) on my Mac (1.1.x compiler). Under both Linux (Debian and
PPC flavors) and Win95/98/NT4 I get an OutOfMemoryExcep
ery small program that reads the entries in a zip file. The
>file is4.9MB
> in size and contains 5302 entries. The program uses both methods for
>reading a zip file
> nextentry and enumeration. Under the enumeration method it runs out
>of memory.
> I have tried the program
file
nextentry and enumeration. Under the enumeration method it runs out
of memory.
I have tried the program under Borland JBuilder (1 & 2) and (canyou
believe it)
microsoft J++ and they work fine.
I have 128MB of real memory and 128MB of swap, and the program still
runs out of
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,3
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:
>
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, 17908
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 3616K cached
The com
issue free
again, I get three zeros.
Can anyone help with this swap space problem under RH5.0, since this will
probably fix the out of memory problem for jdk1.1.5.
Thanks in advance
BTW - make backups before playing with the swap and with partitions...
>
> Rani.
>
> On Fri, Jun 12, 1998 at 12:13:06PM +0300, Paris Flegas wrote:
> > When i am running X-windows and run javac it says
> > "**Out of memory,exiting**"
> > but when I am n
Fri, Jun 12, 1998 at 12:13:06PM +0300, Paris Flegas wrote:
> When i am running X-windows and run javac it says
> "**Out of memory,exiting**"
> but when I am not in Xwindows javac works perfectly.
> What can I do so
When i am running X-windows and run javac it says
"**Out of memory,exiting**"
but when I am not in Xwindows javac works perfectly.
What can I do so I can free some memory?
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
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.
I am running a 200Mhz Pent Pro, 32MB RAM 3.1 Gig drive.
linux 2.0.0.33
22 matches
Mail list logo