🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3179

Re: Doesn�t java use virtual memory

#3179
From: Rich Wilkman
Date: Fri, 10 Apr 1998 00:00
53 lines
2255 bytes
Gunnar:

You'd be in a real world of hurt if a VM could get to OS specific
items like virtual memory handling! ;-)

When the Java VM hits it's max mem setting, that's it.  The end of the
world.  No more memory.  Run java.exe to see what the various settings
are for the VM (-mx is the arg you're most interested in at this
point).

Now, if the VM wants 128M of RAM and you only have 64 "real" meg, the
VM will ask the OS and the OS will just give it the memory.  The VM
doesn't care if it's virtual (from disk), just like any other
program.  Now, the WinTel platform is not know for having OS's with
good virtual memory handling, so that's why you may be having trouble
when swapping.

-Rich

Gunnar Malmgren wrote:
> 
> Hi.
> 
> I�m developing an application in windows NT and I noticed that my app never
> uses
> the swap file. I get an OutOfMemoryException even with an emty swap file.
> 
> I loaded a bunch of programs and watched the memory consumption and of all
> the programs
> I started, only the java app crashed when the swapping began.
> 
> Is this configurable in any way or is this something that I have to live
> with? (It�s rather annoying).
> 
> Thanx for your help.
> 
> Gunnar

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <352E4709.1B4DF1DD@corp.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6gjcrs$g31@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 1089d0,856d31cd7cec64bc
X-Google-Attributes: gid1089d0,public
From: Rich Wilkman <rwilkman@corp.borland.com>
Subject: Re: Doesn�t java use virtual memory
Date: 1998/04/10
Message-ID: <352E4709.1B4DF1DD@corp.borland.com>
X-Deja-AN: 342790897
Content-Transfer-Encoding: 8bit
References: <6gjcrs$g31@forums.borland.com>
Content-Type: text/plain; charset=iso-8859-1
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api