home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!haven.umd.edu!wam.umd.edu!adhir
- From: adhir@wam.umd.edu (Al Dhir)
- Subject: Found a wierd bug
- Message-ID: <1992Nov20.232455.14997@wam.umd.edu>
- Sender: usenet@wam.umd.edu (USENET News system)
- Nntp-Posting-Host: rac3.wam.umd.edu
- Organization: University of Maryland, College Park
- Date: Fri, 20 Nov 1992 23:24:55 GMT
- Lines: 25
-
- I think I have found a bug in OS/2, and am wondering what the proper way to
- report it to IBM would be. Before I do so, however, I would appreciate if
- you all would try this also...
-
- The swapfile grows and shrinks OK most of the time (now that I have removed
- the background BMP I had installed). Interestingly enough, however, it
- will grow and not shrink, if I do certain graphics-related things. I know this
- is vague, but it is what I found. For example, opening a ghostscript window
- and displaying a ps file will grow the swapfile and never let it shrink again.
- Similarly, opening Corel Draw 2.5 and displaying drawings grows the swapfile
- unshrinkably. The wierdest thing of all, hever, is if I open up a copy or
- sirtet (the tetris clone available via anonymous FTP at ftp-os2.nmsu.edu in
- the pub/os2/all/games directory) and RESIZE it's window repeatedly to
- different sizes, like real thin and tall, and then real wide and short etc,
- the swapfile starts growing...WITHOUT shrinking...ever. I got my swapfile
- from 4096 up to 8192 JUST by opening sirtet and playing with the window
- size. I was not running ANYTHING else at all. I am now almost sure that
- OS/2 loses fragments of memory anytime it does graphics related (screen
- related?) operations and forgets to reclaim them. This also explains why
- having a background BMP open causes the swapfile to grow exponentially. I'd
- appreciate if you all could play around with this and tell me what happens.
-
- Incidentally, I am running Dinfo to keep a running tab on the swapfile. I
- suggest to do the same...
-
-