josep
Nov 12th, 2004, 11:36 AM
I'm using the springframework for a server application that communicates with swing clients through RMI with the classes RMIServiceExporter on the server and the RmiProxyFactoryBean on the client side.
I'm also using quartz and hibernate. The versions are:
- 1.1.1 of Spring
- 1.4.2 of quartz
- 2.1.6 of Hibernate
- And the JVM 1.4.2_06
I've detected in this situation how the memory is increasing and with a MemoryDebugger utility I saw that some objects are never GCed. These objects are from the sun.reflect package and nobody references them:
-BootstrapConstructorAccessorImpl
-DelegatingClassLoader
I've isolated the problem and when I don't publish the objects (ie. I donīt load the beans of RmiServiceExporter) the memory doesn't increase.
If I start the server, publishing the objects, without clients the memory also increases.
I've also tried to export all objects throgh a single class and the memory doesn't increase, but when I connect the clients I have the same problem.
Any idea? Has anybody had this problem before?
It's a good idea doing this connecion with another tecnology?
Thanks
I'm also using quartz and hibernate. The versions are:
- 1.1.1 of Spring
- 1.4.2 of quartz
- 2.1.6 of Hibernate
- And the JVM 1.4.2_06
I've detected in this situation how the memory is increasing and with a MemoryDebugger utility I saw that some objects are never GCed. These objects are from the sun.reflect package and nobody references them:
-BootstrapConstructorAccessorImpl
-DelegatingClassLoader
I've isolated the problem and when I don't publish the objects (ie. I donīt load the beans of RmiServiceExporter) the memory doesn't increase.
If I start the server, publishing the objects, without clients the memory also increases.
I've also tried to export all objects throgh a single class and the memory doesn't increase, but when I connect the clients I have the same problem.
Any idea? Has anybody had this problem before?
It's a good idea doing this connecion with another tecnology?
Thanks