home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / programm / 6313 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  2.2 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!Urmel.Informatik.RWTH-Aachen.DE!dfv.rwth-aachen.de!sungate.fido.de!p1.hippo.fido.de!freax.fido.de!Roman_Grzondziel
  2. Date: Tue, 10 Nov 92 11:54:14 +0100
  3. From: Roman_Grzondziel@freax.fido.de (Roman Grzondziel)
  4. Subject: OS/2 memory management (ARGH!)
  5. Message-ID: <1b68f11e@p11.f9.n242.z2.fidonet.org>
  6. Newsgroups: comp.os.os2.programmer
  7. Organization: High End Point: 
  8. Lines: 48
  9.  
  10. Hi there,
  11.  
  12. I am having some problems with OS/2 2.0 lately. There seem to be some
  13. design (!) bugs in the system which seem to eat up the free store!
  14. An exaple:
  15.  
  16. 1.  start the system editor (e.exe)
  17. 2.  select the "OPEN" menu and get the file requester
  18. 3.  enter *.argh (so that it won't find anything that fits - don't forget
  19.     the wildcard!)
  20. 4.  keep pushing the "OPEN" button.
  21.  
  22. Now watch what is happening with your memory! After few clicks the
  23. system has only 512 kb free store left and begins to expand the swap file.
  24. It seems like you can fill up any partition (no matter how large) this
  25. way :) The memory is being freed but not before I quit the application.
  26.  
  27. The same happens in every app (including mine) that uses the file
  28. requester! Is there *any* "good" reason for this bug??? (I consider this
  29. being a bug, of course :))
  30.  
  31. Another annoyance: my program is using the PM interface, starting some
  32. separate windowed and not-windowed threads... I am not using any
  33. dynamic memory functions (like malloc etc.). But still, after playing
  34. with it for a while, I'm getting errors like "Maximum heap size reached"!
  35. (from one of the debugging hooks in my code). Sometimes the application
  36. quits right after this warning. While clicking around, I keep repeating the 
  37. same sequences that do *not* create any new memory objects nor any new items. 
  38. After a while, the memory status display starts showing increasingly shrinking 
  39. store. WHY?! But sometimes the error appears even before this happens! 
  40. AAAAAAAAAARGH!
  41.  
  42. Can anybody give me a hint?! I would be *very* grateful for any help.
  43. I am getting crazy here searching for a (of course still possible)
  44. bug in my code and not being able to find anything wrong! HELP!
  45.  
  46.  
  47.     adios
  48.  
  49.         Roman
  50.  
  51. 2:242/9.11@fido.org
  52. roman_grzondziel@freax.fido.de
  53.  
  54.  
  55.  
  56.  
  57.  
  58.