TIP: Click on subject to list as thread! ANSI
echo: os2
to: MIKE RUSKAI
from: DARIN MCBRIDE
date: 1998-04-19 22:47:00
subject: Beginlibpath?

 DM> Like why I have an 8 meg swap (defaults to 2 meg) when I have 160 meg
 DM> of RAM.  (Mind you, that one is probably Java's fault...)
 MR> This is the "fault" of OS/2's design since version 3.
Well, no, not quite.  You see, I only start swapping when I run too many 
(i.e., 2 or more) java apps, or a single one for too long.  If I try to run 
Netscape and load a page using Java, too, then we'll leak RAM like a sieve.
 MR> System libaries, rather than being unloaded when apps cease to use them, 
 MR> are pushed to the swapper forcefully instead.  It's faster to recall 
 MR> "active" code from the swapper than it is to load it.
These aren't system libraries.  They could be swapped to memory - and usually 
ARE ... if there's room.  However, Java for OS/2 has serious memory leaks 
(which they conveniently seem to ignore).  All of the application's memory 
should be released even if the libraries (code and RO segments) were left in 
memory.  It doesn't seem to work this way.
---
---------------
* Origin: Tanktalus' Tower BBS (1:250/102)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.