jdk1.1.8->jdk1.3

Hi,when I compare my software, compiled with jdk1.1.8 with it when I compile it with jdk1.3 it needs 2-3times more memory. This is the result of an analyse with JProbe. Has anybody made the same experience?regards,ulli
[260 byte] By [ulrich dinse] at [2007-9-26 3:21:33]
# 1

Are you sure the difference is when you compile the code with JDK 1.3? I think the difference you be apparent when you simply run the code with JDK 1.3. Java code compiled with earlier versions of the JDK should run on newer versions.

My impression is that the JRE has been getting faster but taking more memory on each version from 1.0 to 1.4. Now, developers are complaining about the memory usage, so likely we'll see a reduction in memory usage in 1.5 (or maybe 1.4.1).

schapel at 2007-6-29 11:38:29 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2

Hi schapel,

yes, there occur problems. I tested it out. There are not only depreceated methodes and fields. The JFrame works on other ways. Former workarounds(used to clear references on the frame) are now no longer required or did't work under jdk1.3...and so on. but never mind. sun knows this problems and there is a page with incompabilities between different versions of jdk.

http://java.sun.com/j2se/1.3/compatibility.html

with the memoryuse, I've made the same experiences. let's see what the next releases will give us:-)

Thanks for your reply,

regards

Ulli

ulrich dinse at 2007-6-29 11:38:29 > top of Java-index,Java HotSpot Virtual Machine,Specifications...