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)
|