[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
closing applet does not release eclnt client classes  XML
Forum Index -> Deployment
Author Message
moebus

Power User

Joined: 21/11/2007 12:49:18
Messages: 93
Offline

Running enterprise client as applet, the classes are not unloaded when the applet closes. Thus repeatedly opening/closing one or more applets in the same java vm will load more and more classes and eventually result in an OutOfMemoryError in perm-gen space.
Of course this is only relevant when the parameter separate_jvm is set to false.

Manfred
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5510
Offline

Hi,

hmmm. Do you mean "unload classes" or "unload object instances". I am not aware of anything we can do for unloading classes...

Regards, Björn


To point out, for all "other" readers: the default (and recommended) usage is that each applet instance is loaded within a separate VM, which is cloesd when closing the applet. So, this is some special case we are talking about here!

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Deployment
Go to:   
Powered by JForum 2.1.6 © JForum Team