🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #1216

Re: out of memory\image error please help

#1216
From: Carsten Friedrich
Date: Mon, 12 Apr 1999 00:00
24 lines
1395 bytes
Hi,

> >
> >I am writing a lift simulation program that involves a lot of animation
> >
> >at run time when the program has been running for a while I get the
> >following error :-
> >

The JVM only uses a very limited amount of memory by default. Try the
option -Xmx to set a higher maximum. E.g. -Xmx200m for 200 MB. (Java
1.2, I think it's just -mx for < 1.2). 

Maybe optimizing your program would help as well ;-)

Carsten

-- 
**********************************************************************
Carsten Friedrich              .-_|\     University of Newcastle
friedric@cs.newcastle.edu.au  /     \    Dept of Computer Science and
ph. +61 2 4921 7242	      \.--._* <-         Software Engineering
fax +61 2 4921 6929                v     Callaghan NSW 2308, Australia
**********************************************************************
Technical Details
Message-ID: <w4fvhf2bkus.fsf@olive.newcastle.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7ee4b6$4ca$1@news4.svr.pol.co.uk> <7enkgb$1c5$1@news7.svr.pol.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,5d949cec00fead28
X-Google-Attributes: gid10d6db,public
From: Carsten Friedrich <friedric@cs.newcastle.edu.au>
Subject: Re: out of memory\image error please help
Date: 1999/04/12
Message-ID: <w4fvhf2bkus.fsf@olive.newcastle.edu.au>
X-Deja-AN: 465320622
Sender: friedric@olive.newcastle.edu.au
References: <7ee4b6$4ca$1@news4.svr.pol.co.uk> <7enkgb$1c5$1@news7.svr.pol.co.uk>
Organization: The University of Newcastle
Newsgroups: aus.computers.java