From: Sven G. <sgo...@ja...> - 2001-12-07 18:06:25
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 ! - --------------- win98se + jdk 1.3.1 + gl4java 2.8.1.0 test: "java gl4java.GLContext -infotxt" summary: after each run 2MB of memory are "lost" ! todo: new tests - --------------- win98se + jdk 1.3.1_01 + gl4java 2.8.1.0 test: "java gl4java.GLContext -infotxt" ???? todo: test ;-) - ---------------- 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 - -- "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 iD8DBQE8EQUFHdOA30NoFAARAlAXAJ9c+CJIwjmTXNBoMsACL+TNmKE6aACdHBr/ fVv9EErLskIe/DMexjgbApo= =+jyf -----END PGP SIGNATURE----- |