C
Christopher Pragash
Hello All,
I created a class object and a console application to host the object as a
Singleton Remoting Object. I overloaded the new inside the class object and
loaded a private Arraylist with some objects. I wrote a function that would
retrieve a range of objects from the Arraylist. I created a client inside
which I called the Singleton Object's function multiple times. I also
started multiple instances of the client and did a simultaneous call to the
Singleton Object. While watching the memory process of the Host Application,
I noted that the memory the process occupied kept growing with every
call...and it never came down. I made sure that multiple instances of the
object are not created by checking a Creation timestamp on the remoting
object and that also ensured that the arraylist was loaded only once. Is
there a reason behind this?? Any theories?
Thanks in advance,
regards,
Chris
I created a class object and a console application to host the object as a
Singleton Remoting Object. I overloaded the new inside the class object and
loaded a private Arraylist with some objects. I wrote a function that would
retrieve a range of objects from the Arraylist. I created a client inside
which I called the Singleton Object's function multiple times. I also
started multiple instances of the client and did a simultaneous call to the
Singleton Object. While watching the memory process of the Host Application,
I noted that the memory the process occupied kept growing with every
call...and it never came down. I made sure that multiple instances of the
object are not created by checking a Creation timestamp on the remoting
object and that also ensured that the arraylist was loaded only once. Is
there a reason behind this?? Any theories?
Thanks in advance,
regards,
Chris