Re: Garbage collection in jdk1.2

1999-11-10 Thread Ekkehard Kraemer
Hi Daniel! DPZ>How can I tell how much memory an object takes? There is an article on www.javaworld.com about this topic (it's about clever memory usage, I don't know the exact title, but there are'nt so many articles to choose from). Depending on the VM, java.lang.Object takes some 20-30 bytes

Re: Garbage collection in jdk1.2

1999-11-09 Thread Daniel P. Zepeda
I actually looked at that page. I saw known bugs, and skipped fix bugs thinking it wouldn't apply. Also, that green color makes the entries very hard to read on my LCD screen. Anway, that did work around the problem. It behaves as expected now. Thus spake Marc Slemko on Tue, 09 Nov 1999: > O

Re: Garbage collection in jdk1.2

1999-11-09 Thread Marc Slemko
On Tue, 9 Nov 1999, Daniel P. Zepeda wrote: [...] > Now in linux using the jdk1.2-pre_v2, the programs memory requirement > grows without bound until it crashes my system. Sun's jdk doesn't do > this. It settles in with about 10 megs in memory and 30 megs in swap and > wil stay there all day. Th

Garbage collection in jdk1.2

1999-11-09 Thread Daniel P. Zepeda
Hi, So I have this simple application that uses a JPanel as a canvas. I use arrays of Point2D.Double and Line2D.Double objects to to keep track of where to draw lines/points. This canvas can have around 1000 point objects and about 300-400 line objects associated with it. After I use this