From: Sven G. <sgo...@ja...> - 2001-12-07 22:43:19
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 07 December 2001 19:05, Sven Goethel wrote: > well, here are my experiences with the "memory leak" problem: > > i have read the memory usage form with the windows task manager (winnt), > the system monitor (win98se), or xosview (linux ;-) > 1s after the java program has finished ! > > i have learned, that after several more secounds, > the OS may freee a bit more memory .. > > anyway, this gives us a reliable source of information > whether gl4java has a "big" memory leak or not ! > > --------------- > SUMMARY: ========= I have also checked GL4Java's native ressource managment (with it's verbose printouts ..), and everything seems ok ! (MY) Win98se machine looks like the only platform with this bug. So, because Win98xx is a kinda dead thing ;-), and i really do not use it regulary (just to offer you thie win32 binaries), we may can forget this issue .. ?!?! Tip for Win98 users: DONT use Win98, WinME or WinXP ;-) Use WinNT, Win2k - or better: switch to a rock solid machine ! Well it is not recommended to use a WinXP machine, since you do not have a special http, smb, or whatever content checking firewall, which is able to disallow M$ to spy you personality and you machine itself ! don't hesitate, go for it, use at least GNU/Linux ;-) ... but this might be offthread .. TEST RESULTS 1.) win98se, 2) winnt, 3.) linux-ppc, 4.) linux-x86 - ------------------------------------------------------------------ ( All test ran with an NVidia gfx card and its proprietary driver, except the linux-ppc one (ATI (DRI driver)) ! ) win98se + jdk 1.3.1 + gl4java 2.8.1.0 test: "java gl4java.GLContext -infotxt" summary: after each run 2MB of memory are "lost" ! - --------------- win98se + jdk 1.3.1_01 + gl4java 2.8.1.0 test: "java gl4java.GLContext -infotxt" test loop memory used (MB) 0 167.5 !!!!!!!!! 1 173.3 !!!!!!!!! 2 175.4 !!!!!!!!! 3 177.3 !!!!!!!!! 4 179.1 !!!!!!!!! - ---------------- winnt 4.0 + 500MByte + jdk 1.3.1 + gl4java 2.8.1.0 test: "java gl4java.GLContext -infotxt" test loop memory used (kb) 0 75404 1 76028 2 76028 3 76028 4 76028 - ---------------- winnt 4.0 + 500MByte + jdk 1.3.1_01+ gl4java 2.8.1.0 test: "java gl4java.GLContext -infotxt" test loop memory used (kb) 0 68980 1 69788 2 69784 3 69784 4 69776 - ---------------- winnt 4.0 + 500MByte + jdk 1.4.0b3 + gl4java 2.8.1.0 test: "java gl4java.GLContext -infotxt" test loop memory used (kb) 0 70612 1 71660 2 71656 3 71656 4 71656 test: "java gl4java.GLContext VertexArrayRange" (demos/NVidia) test loop memory used (kb) 0 70592 1 70784 2 70784 3 70700 4 70632 - ------------ linux 2.4.12 ppc + 256 MB + jdk 1.3.0 (blackdown fcs) + gl4java 2.8.1.0 test: "java gl4java.GLContext -infotxt" test loop memory used (MB) 0 199 1 199 2 199 3 198 4 198 - ------------ linux 2.4.11 x86 + 650 MB + jdk 1.3.1 (blackdown fcs) + gl4java 2.8.1.0 test: "java gl4java.GLContext -infotxt" test loop memory used (MB) 0 616 1 608 2 608 3 607 4 607 - ------------ linux 2.4.11 x86 + 650 MB + jdk 1.4.0b3 (sun) + gl4java 2.8.1.0 test: "java gl4java.GLContext -infotxt" test loop memory used (MB) 0 616 1 604 2 603 3 604 4 604 test: "java gl4java.GLContext VertexArrayRange" (demos/NVidia) test loop memory used (MB) 0 612 1 593 2 592 3 593 4 593 - ------------ - -- "come on sexy mama, let's kill all humans", bender - futurama mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440 ; fax : +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8EUYBHdOA30NoFAARAqesAKCcjRfQvQMDdVvGjet+QN0yFkthwwCfa+3x +oECruaJ6L0fY1E3OLrjlvY= =pe86 -----END PGP SIGNATURE----- |